Skip to content

Commit deb4d05

Browse files
committed
removed useless db constraints
1 parent 38f5cc7 commit deb4d05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/create_users_table.php.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ return new class extends Migration
1212
$table->id();
1313
$table->string('name');
1414
$table->integer('age');
15-
$table->string('username')->unique();
16-
$table->string('email')->unique();
15+
$table->string('username');
16+
$table->string('email');
1717
$table->timestamps();
1818
});
1919
}

0 commit comments

Comments
 (0)