mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Use scope_id instead of the scope name
This commit is contained in:
@@ -49,7 +49,7 @@ CREATE TABLE `scopes` (
|
||||
CREATE TABLE `oauth_session_scopes` (
|
||||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`session_id` int(11) unsigned NOT NULL,
|
||||
`scope` varchar(255) NOT NULL DEFAULT '',
|
||||
`scope_id` int(11) unsigned NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `session_id` (`session_id`),
|
||||
KEY `scope` (`scope`),
|
||||
|
Reference in New Issue
Block a user