1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-07-12 03:56:24 +02:00

Add 'force_logout' column to 'users' table in database schema

This commit is contained in:
Marco
2018-03-24 17:49:35 +01:00
parent d9297709af
commit ade63d07df
3 changed files with 4 additions and 1 deletions

View File

@ -18,6 +18,7 @@ CREATE TABLE IF NOT EXISTS `users` (
`roles_mask` int(10) unsigned NOT NULL DEFAULT '0',
`registered` int(10) unsigned NOT NULL,
`last_login` int(10) unsigned DEFAULT NULL,
`force_logout` mediumint(7) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;