diff --git a/sql/database.sql b/sql/database.sql index b260d9f0..a21aeb94 100644 --- a/sql/database.sql +++ b/sql/database.sql @@ -49,11 +49,9 @@ CREATE TABLE `scopes` ( CREATE TABLE `oauth_session_scopes` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `session_id` int(11) unsigned NOT NULL, - `access_token` varchar(40) NOT NULL DEFAULT '', `scope` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `session_id` (`session_id`), - KEY `access_token` (`access_token`), KEY `scope` (`scope`), CONSTRAINT `oauth_session_scopes_ibfk_3` FOREIGN KEY (`scope`) REFERENCES `scopes` (`scope`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `oauth_session_scopes_ibfk_4` FOREIGN KEY (`session_id`) REFERENCES `oauth_sessions` (`id`) ON DELETE CASCADE