Skip to content

Commit

Permalink
[5.8] use bigIncrements by default
Browse files Browse the repository at this point in the history
All new migrations will be using bigIncrements
laravel/framework#26472
  • Loading branch information
ankurk91 authored Feb 24, 2019
1 parent a62b390 commit 761055c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 761055c

Please sign in to comment.