mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-07-12 12:06:22 +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,
|
||||
PRIMARY KEY (`id`),
|
||||
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;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `users_remembered` (
|
||||
|
Reference in New Issue
Block a user