· 7 years ago · Oct 08, 2018, 11:10 PM
1CREATE TABLE IF NOT EXISTS `oauth_users` (
2 `user_id` int(11) unsigned NOT NULL,
3 `oauth_provider` smallint(5) unsigned NOT NULL,
4 `oauth_uid` varchar(50) NOT NULL,
5 UNIQUE KEY `oauth_provider` (`oauth_provider`,`oauth_uid`),
6 KEY `user_id` (`user_id`)
7) ENGINE=MyISAM DEFAULT CHARSET=utf8;