Implement new primary key syntax (#5147)
This commit is contained in:
committed by
Taylor Otwell
parent
b659069bce
commit
2e2be97c26
@@ -14,7 +14,7 @@ class CreateUsersTable extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('email')->unique();
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
|
||||
Reference in New Issue
Block a user