Skip to content

Commit

Permalink
Fix slug migration
Browse files Browse the repository at this point in the history
  • Loading branch information
abourtnik committed May 1, 2024
1 parent 41c5204 commit db9c2a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public function up(): void
{
Schema::table('users', function (Blueprint $table) {
$table->string('slug')->unique()->after('username');
$table->string('slug')->unique()->after('username')->nullable();
});
}

Expand Down

0 comments on commit db9c2a8

Please sign in to comment.