mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Fixed missing fields in oauth_sessions
table
This commit is contained in:
parent
1e2d2b3d25
commit
a98dcea6fe
@ -37,6 +37,8 @@ CREATE TABLE `oauth_sessions` (
|
|||||||
`refresh_token` varchar(40) DEFAULT '',
|
`refresh_token` varchar(40) DEFAULT '',
|
||||||
`access_token_expires` int(10) DEFAULT NULL,
|
`access_token_expires` int(10) DEFAULT NULL,
|
||||||
`stage` enum('requested','granted') NOT NULL DEFAULT 'requested',
|
`stage` enum('requested','granted') NOT NULL DEFAULT 'requested',
|
||||||
|
`first_requested` int(10) unsigned NOT NULL,
|
||||||
|
`last_updated` int(10) unsigned NOT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `client_id` (`client_id`)
|
KEY `client_id` (`client_id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
Loading…
Reference in New Issue
Block a user