Update 2014_10_12_000000_create_users_table.php

This commit is contained in:
Julian Prieber 2023-03-08 21:04:32 +01:00
parent 3f7e48ea27
commit 19ddd37182
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class CreateUsersTable extends Migration
{ {
Schema::create('users', function (Blueprint $table) { Schema::create('users', function (Blueprint $table) {
$table->id(); $table->id();
$table->string('name'); $table->string('name')->unique();
$table->string('email')->unique(); $table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable(); $table->timestamp('email_verified_at')->nullable();
$table->string('password'); $table->string('password');