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`);
