/*
Dreamer CMS 数据库备份工具 时间：2025-04-09
*/

DROP TABLE IF EXISTS `system_role`;

/*
Table structure for table `system_role`
*/
CREATE TABLE `system_role` (
  `id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `role_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '角色名称',
  `role_code` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '角色编码',
  `create_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `update_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

/*
Data for table `system_role`
*/
INSERT INTO `system_role`(`create_by`, `create_time`, `id`, `role_code`, `role_name`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-11 08:21:36','%Y-%m-%d %H:%i:%s'), '08d8ce83eef944d88f0817187c308bfd', '11111111', '演示角色', '', NULL);
INSERT INTO `system_role`(`create_by`, `create_time`, `id`, `role_code`, `role_name`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2025-04-09 10:45:44','%Y-%m-%d %H:%i:%s'), '1909799863477366784', '44l7pwq9', '管理员', '', NULL);
INSERT INTO `system_role`(`create_by`, `create_time`, `id`, `role_code`, `role_name`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2021-03-09 07:24:25','%Y-%m-%d %H:%i:%s'), '51c3cad610ce4dc4a279df50eec4d1ff', '00000000', '超级管理员', '', NULL);
