Skip to content

Commit

Permalink
[5.8] Change session's user_id to unsigned big integer
Browse files Browse the repository at this point in the history
In the session database table, user_id should be an unsigned big integer due to the recent change (#26472).
  • Loading branch information
ShawnCZek authored Apr 13, 2019
1 parent c53a083 commit b54a849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Session/Console/stubs/database.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit b54a849

Please sign in to comment.