Skip to content

Commit

Permalink
Merge pull request #1057 from reishou/enhancement_1056
Browse files Browse the repository at this point in the history
[7.0] Use bigInteger column type for user_id columns
  • Loading branch information
taylorotwell authored Aug 5, 2019
2 parents f75c95a + f117401 commit 159575d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up()
{
Schema::create('oauth_auth_codes', function (Blueprint $table) {
$table->string('id', 100)->primary();
$table->integer('user_id');
$table->bigInteger('user_id');
$table->unsignedInteger('client_id');
$table->text('scopes')->nullable();
$table->boolean('revoked');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up()
{
Schema::create('oauth_access_tokens', function (Blueprint $table) {
$table->string('id', 100)->primary();
$table->integer('user_id')->index()->nullable();
$table->bigInteger('user_id')->index()->nullable();
$table->unsignedInteger('client_id');
$table->string('name')->nullable();
$table->text('scopes')->nullable();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up()
{
Schema::create('oauth_clients', function (Blueprint $table) {
$table->increments('id');
$table->integer('user_id')->index()->nullable();
$table->bigInteger('user_id')->index()->nullable();
$table->string('name');
$table->string('secret', 100);
$table->text('redirect');
Expand Down

0 comments on commit 159575d

Please sign in to comment.