mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-22 15:43:21 +05:30
Update init.php
This commit is contained in:
1 parent
676fb4c06a
commit
2653a174bb
1 file changed
+1
-1
@@ -241,7 +241,7 @@ print 'Creating oauth session scopes table'.PHP_EOL;
|
||||
|
||||
Capsule::schema()->create('oauth_session_scopes', function ($table) {
|
||||
$table->increments('id')->unsigned();
|
||||
$table->string('session_id')->unsigned();
|
||||
$table->integer('session_id')->unsigned();
|
||||
$table->string('scope');
|
||||
|
||||
$table->foreign('session_id')->references('id')->on('oauth_sessions')->onDelete('cascade');
|
||||
|
||||
Reference in new issue
Block a user