From b54a849d61a1afe6345b50de570d3f021e15c49c Mon Sep 17 00:00:00 2001 From: ShawnCZek Date: Sat, 13 Apr 2019 12:00:28 +0200 Subject: [PATCH] [5.8] Change session's user_id to unsigned big integer In the session database table, user_id should be an unsigned big integer due to the recent change (#26472). --- src/Illuminate/Session/Console/stubs/database.stub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Session/Console/stubs/database.stub b/src/Illuminate/Session/Console/stubs/database.stub index c213297d174a..3c8ebbdc8937 100755 --- a/src/Illuminate/Session/Console/stubs/database.stub +++ b/src/Illuminate/Session/Console/stubs/database.stub @@ -15,7 +15,7 @@ class CreateSessionsTable extends Migration { Schema::create('sessions', function (Blueprint $table) { $table->string('id')->unique(); - $table->unsignedInteger('user_id')->nullable(); + $table->unsignedBigInteger('user_id')->nullable(); $table->string('ip_address', 45)->nullable(); $table->text('user_agent')->nullable(); $table->text('payload');