Fixed missing fields in oauth_sessions table

This commit is contained in:
Alex Bilbie 2013-02-13 19:35:42 +00:00
parent 1e2d2b3d25
commit a98dcea6fe

View File

@ -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;