feat(groups): user_groups lookup, admin assignment UI, public directory with DataTables
This commit is contained in:
15
application/_installation/04-create-table-user-groups.sql
Normal file
15
application/_installation/04-create-table-user-groups.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
CREATE TABLE IF NOT EXISTS `huge`.`user_groups` (
|
||||
`group_id` TINYINT(1) NOT NULL COMMENT 'numeric user group id, matches users.user_account_type',
|
||||
`group_name` VARCHAR(64) COLLATE utf8_unicode_ci NOT NULL COMMENT 'human readable group name',
|
||||
PRIMARY KEY (`group_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='user groups lookup';
|
||||
|
||||
INSERT INTO `huge`.`user_groups` (`group_id`, `group_name`) VALUES
|
||||
(1, 'Gast'),
|
||||
(2, 'Benutzer'),
|
||||
(3, 'Gruppe 3'),
|
||||
(4, 'Gruppe 4'),
|
||||
(5, 'Gruppe 5'),
|
||||
(6, 'Gruppe 6'),
|
||||
(7, 'Admin')
|
||||
ON DUPLICATE KEY UPDATE `group_name` = VALUES(`group_name`);
|
||||
Reference in New Issue
Block a user