mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
Added missing column
This commit is contained in:
parent
47a5c1ba08
commit
6cb5863b81
@ -181,6 +181,7 @@ Capsule::schema()->create('oauth_auth_codes', function ($table) {
|
|||||||
$table->string('auth_code')->primary();
|
$table->string('auth_code')->primary();
|
||||||
$table->integer('session_id');
|
$table->integer('session_id');
|
||||||
$table->integer('expire_time');
|
$table->integer('expire_time');
|
||||||
|
$table->string('client_redirect_uri');
|
||||||
|
|
||||||
$table->foreign('session_id')->references('id')->on('oauth_sessions')->onDelete('cascade');
|
$table->foreign('session_id')->references('id')->on('oauth_sessions')->onDelete('cascade');
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user