Browse Source

Merge pull request #4946 from ankurk91/patch/big-int

[5.8] use bigIncrements by default
Taylor Otwell 6 years ago
parent
commit
b681370492
1 changed files with 1 additions and 1 deletions
  1. 1 1
      database/migrations/2014_10_12_000000_create_users_table.php

+ 1 - 1
database/migrations/2014_10_12_000000_create_users_table.php

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