mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
[5.8] use bigIncrements by default
All new migrations will be using bigIncrements https://github.com/laravel/framework/pull/26472
This commit is contained in:
parent
1d8add88f7
commit
426df7a0e4
@ -14,7 +14,7 @@ class CreateUsersTable extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->bigIncrements('id');
|
||||
$table->string('name');
|
||||
$table->string('email')->unique();
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
|
Loading…
x
Reference in New Issue
Block a user