Skip to content

Commit

Permalink
Replace migration id with alias (#3165)
Browse files Browse the repository at this point in the history
  • Loading branch information
eimantaaas authored Jan 19, 2023
1 parent 38b8b07 commit 5f63940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/migrations/create_media_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ return new class extends Migration
public function up(): void
{
Schema::create('media', function (Blueprint $table) {
$table->bigIncrements('id');
$table->id();

$table->morphs('model');
$table->uuid('uuid')->nullable()->unique();
Expand Down

0 comments on commit 5f63940

Please sign in to comment.