Skip to content

Commit

Permalink
Update 2016_06_01_000005_create_oauth_personal_access_clients_table.php
Browse files Browse the repository at this point in the history
  • Loading branch information
KieronWiltshire authored Jan 21, 2020
1 parent 09003bf commit 46893d6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ class CreateOauthPersonalAccessClientsTable extends Migration
public function up()
{
Schema::create('oauth_personal_access_clients', function (Blueprint $table) {
$table->increments('id');
$table->unsignedInteger('client_id')->index();
$table->bigIncrements('id');
$table->bigInteger('client_id')->unsigned();
$table->foreign('client_id')->references('id')->on('oauth_clients')->onDelete('cascade');
$table->timestamps();
});
}
Expand Down

0 comments on commit 46893d6

Please sign in to comment.