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

DROP TABLE IF EXISTS `system_menu`;

/*
Table structure for table `system_menu`
*/
CREATE TABLE `system_menu` (
  `id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `menu_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '菜单名称',
  `menu_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '菜单编码',
  `menu_url` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '菜单路径',
  `parent_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '-1' COMMENT '上级菜单',
  `menu_icon` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '菜单图标',
  `sort` int DEFAULT '50' COMMENT '排序',
  `remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin 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_menu`
*/
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-10 17:18:36','%Y-%m-%d %H:%i:%s'), '302fc47d7ef24f9e86926b445c007c94', 'system:menu:variable', 'fa fa-list-ol', '变量管理', '/admin/variable', '-1', '变量管理', 9, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('1443c458e49c44539b63212cba8b9b1e', STR_TO_DATE('2023-04-10 17:18:40','%Y-%m-%d %H:%i:%s'), '3a209b4322064d19a3e4fd776a8caf6d', 'system:menu:role', '', '角色管理', '/admin/role', 'd54278919d67487f94f136389c2f26e0', '角色管理', 2, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('1443c458e49c44539b63212cba8b9b1e', STR_TO_DATE('2023-04-10 17:18:44','%Y-%m-%d %H:%i:%s'), '3f274f5fb2284de0ba0d6d78cba88b25', 'system:menu:permission', '', '权限管理', '/admin/permission', 'd54278919d67487f94f136389c2f26e0', '权限管理', 4, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-10 17:18:04','%Y-%m-%d %H:%i:%s'), '4279223df18f4ea6bc2d030169cfb36a', 'system:menu:attachment', 'fa fa-chain', '附件管理', '/admin/attachment', '-1', '', 6, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-10 17:18:49','%Y-%m-%d %H:%i:%s'), '554efae277dc4935b0f683c2fc7511af', 'system:menu:template', 'fa fa-files-o', '模板管理', '/admin/templates', '-1', '模板管理', 7, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-10 17:18:54','%Y-%m-%d %H:%i:%s'), '73af24f76a964beda44c1e541b22cc6b', 'system:menu:form', 'fa fa-check-square-o', '表单模型', '/admin/forms', '-1', '表单模型', 6, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-10 17:18:58','%Y-%m-%d %H:%i:%s'), '7d9a2cf8f6e542159f02eb8bc0c29adc', 'system:menu:task', '', '计划任务', '/admin/task', 'd54278919d67487f94f136389c2f26e0', '计划任务', 50, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-10 17:19:02','%Y-%m-%d %H:%i:%s'), '8e4e2a664ff2486695788a284b5b01d5', 'system:menu:label', 'fa fa-tags', '标签管理', '/admin/label', '-1', '标签管理', 3, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-10 17:19:06','%Y-%m-%d %H:%i:%s'), '8e5f3b75442e4daea9519f64aed5e46b', 'system:menu:setting', 'fa fa-wrench', '网站配置', '/admin/system', '-1', '网站配置', 10, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-10 17:19:10','%Y-%m-%d %H:%i:%s'), '9a59901cf44f4d8f91a6ec4774ba265f', 'system:menu:theme', 'fa fa-puzzle-piece', '风格设置', '/admin/theme', '-1', '风格设置', 8, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('1443c458e49c44539b63212cba8b9b1e', STR_TO_DATE('2023-04-10 17:19:14','%Y-%m-%d %H:%i:%s'), 'a2a639ec04a14cfda08f023b16be012b', 'system:menu:user', '', '用户管理', '/admin/user', 'd54278919d67487f94f136389c2f26e0', '用户管理', 1, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-10 17:19:17','%Y-%m-%d %H:%i:%s'), 'bba76b5b9ea648768014be2b5b2b7d1a', 'system:menu:article', 'fa fa-columns', '栏目/文章', '/admin/category', '-1', '栏目/文章', 2, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-10 17:19:21','%Y-%m-%d %H:%i:%s'), 'c36571773d8b4430a1c409ec1b3ad901', 'system:menu:static', 'fa fa-rocket', '静态化', '/admin/static', '-1', '静态化', 2, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('1443c458e49c44539b63212cba8b9b1e', STR_TO_DATE('2023-04-10 17:19:25','%Y-%m-%d %H:%i:%s'), 'd54278919d67487f94f136389c2f26e0', 'system:menu:system', 'fa fa-cog', '系统管理', '', '-1', '系统管理', 11, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('1443c458e49c44539b63212cba8b9b1e', STR_TO_DATE('2023-04-10 17:19:30','%Y-%m-%d %H:%i:%s'), 'e34bc9371b98490f8dd13a01685eb174', 'system:menu:menu', '', '菜单管理', '/admin/menu', 'd54278919d67487f94f136389c2f26e0', '菜单管理', 3, '', NULL);
INSERT INTO `system_menu`(`create_by`, `create_time`, `id`, `menu_code`, `menu_icon`, `menu_name`, `menu_url`, `parent_id`, `remark`, `sort`, `update_by`, `update_time`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2023-04-10 17:19:34','%Y-%m-%d %H:%i:%s'), 'e351b1f957c34ed19471624091721a5a', 'system:menu:database', '', '备份/还原', '/admin/database', 'd54278919d67487f94f136389c2f26e0', '数据库备份/还原', 6, '', NULL);
