mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-03 14:47:30 +02:00
Update MySQL schema to include 'roles_mask' column in 'users' table
This commit is contained in:
@@ -14,6 +14,7 @@ CREATE TABLE IF NOT EXISTS `users` (
|
|||||||
`username` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
`username` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||||
`status` tinyint(2) unsigned NOT NULL DEFAULT '0',
|
`status` tinyint(2) unsigned NOT NULL DEFAULT '0',
|
||||||
`verified` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
`verified` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`roles_mask` int(10) unsigned NOT NULL DEFAULT '0',
|
||||||
`registered` int(10) unsigned NOT NULL,
|
`registered` int(10) unsigned NOT NULL,
|
||||||
`last_login` int(10) unsigned DEFAULT NULL,
|
`last_login` int(10) unsigned DEFAULT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
|
Reference in New Issue
Block a user