Skip to content

Commit 19ddd37

Browse files
committed
Update 2014_10_12_000000_create_users_table.php
1 parent 3f7e48e commit 19ddd37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2014_10_12_000000_create_users_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function up()
1515
{
1616
Schema::create('users', function (Blueprint $table) {
1717
$table->id();
18-
$table->string('name');
18+
$table->string('name')->unique();
1919
$table->string('email')->unique();
2020
$table->timestamp('email_verified_at')->nullable();
2121
$table->string('password');

0 commit comments

Comments
 (0)