mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-07-12 20:16:21 +02:00
Update MySQL schema to index on 'user_id' in 'users_confirmations'
This commit is contained in:
@ -31,7 +31,8 @@ CREATE TABLE IF NOT EXISTS `users_confirmations` (
|
|||||||
`expires` int(10) unsigned NOT NULL,
|
`expires` int(10) unsigned NOT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `selector` (`selector`),
|
UNIQUE KEY `selector` (`selector`),
|
||||||
KEY `email_expires` (`email`,`expires`)
|
KEY `email_expires` (`email`,`expires`),
|
||||||
|
KEY `user_id` (`user_id`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `users_remembered` (
|
CREATE TABLE IF NOT EXISTS `users_remembered` (
|
||||||
|
Reference in New Issue
Block a user