Skip to content

Commit

Permalink
Merge pull request #28206 from ShawnCZek/patch-1
Browse files Browse the repository at this point in the history
[5.8] Change session's user_id to unsigned big integer
  • Loading branch information
taylorotwell authored Apr 13, 2019
2 parents c53a083 + b54a849 commit 3fe4b53
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 3fe4b53

Please sign in to comment.