1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-07-30 21:00:13 +02:00

Update MySQL schema to include 'roles_mask' column in 'users' table

This commit is contained in:
Marco
2017-07-29 17:50:43 +02:00
parent 2d7ad74c44
commit 8c2c32f9dc

View File

@@ -14,6 +14,7 @@ CREATE TABLE IF NOT EXISTS `users` (
`username` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(2) 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,
`last_login` int(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),