[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:
Ankur Kumar 2019-02-24 10:53:30 +05:30 committed by GitHub
parent 1d8add88f7
commit 426df7a0e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();