Skip to content

Commit

Permalink
menus init data bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinwang committed May 15, 2023
1 parent 1c59b48 commit 84d4a78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ INSERT INTO `metrics` (`key`,`name`,`unit`,`created_at`,`updated_at`) VALUES ('T
INSERT INTO `metrics` (`key`,`name`,`unit`,`created_at`,`updated_at`) VALUES ('THREADS_RUNNING_NUM','并发线程数','',now(),now());
INSERT INTO `metrics` (`key`,`name`,`unit`,`created_at`,`updated_at`) VALUES ('TPS','事务数','个/秒',now(),now());
-- insert menus
INSERT INTO `menus` (`id`,`name`,`parent_id`,`meta`,`component`,`redirect`,`path`,`created_at`,`updated_at`,`action_data`,`action_list`) VALUES (1,'instance',0,'{\"icon\": \"table\", \"show\": true, \"title\": \"menu.instance\"}','RouteView','/instance/list',NULL,'2023-04-17 15:32:49','2023-05-04 16:29:15','[]','[]');
INSERT INTO `menus` (`id`,`name`,`parent_id`,`meta`,`component`,`redirect`,`path`,`created_at`,`updated_at`,`action_data`,`action_list`) VALUES (2,'system',0,'{\"icon\": \"table\", \"show\": true, \"title\": \"menu.system\"}','RouteView','/system/user',NULL,'2023-04-17 15:32:49','2023-05-04 16:29:15','[]','[]');
INSERT INTO `menus` (`id`,`name`,`parent_id`,`meta`,`component`,`redirect`,`path`,`created_at`,`updated_at`,`action_data`,`action_list`) VALUES (1001,'instanceList',1,'{\"icon\": \"table\", \"show\": true, \"title\": \"menu.instance.list\"}','InstanceList',NULL,'/instance/list','2023-04-17 15:32:49','2023-05-04 16:29:15','[{\"action\": \"add\", \"describe\": \"新增\", \"defaultCheck\": false}, {\"action\": \"query\", \"describe\": \"查询\", \"defaultCheck\": false}, {\"action\": \"edit\", \"describe\": \"修改\", \"defaultCheck\": false}, {\"action\": \"delete\", \"describe\": \"删除\", \"defaultCheck\": false}]','[\"add\", \"query\", \"edit\", \"delete\"]');
INSERT INTO `menus` (`id`,`name`,`parent_id`,`meta`,`component`,`redirect`,`path`,`created_at`,`updated_at`,`action_data`,`action_list`) VALUES (1,'Instance',0,'{\"icon\": \"table\", \"show\": true, \"title\": \"menu.instance\"}','RouteView','/instance/list',NULL,'2023-04-17 15:32:49','2023-05-04 16:29:15','[]','[]');
INSERT INTO `menus` (`id`,`name`,`parent_id`,`meta`,`component`,`redirect`,`path`,`created_at`,`updated_at`,`action_data`,`action_list`) VALUES (2,'System',0,'{\"icon\": \"table\", \"show\": true, \"title\": \"menu.system\"}','RouteView','/system/user',NULL,'2023-04-17 15:32:49','2023-05-04 16:29:15','[]','[]');
INSERT INTO `menus` (`id`,`name`,`parent_id`,`meta`,`component`,`redirect`,`path`,`created_at`,`updated_at`,`action_data`,`action_list`) VALUES (1001,'InstanceList',1,'{\"icon\": \"table\", \"show\": true, \"title\": \"menu.instance.list\"}','InstanceList',NULL,'/instance/list','2023-04-17 15:32:49','2023-05-04 16:29:15','[{\"action\": \"add\", \"describe\": \"新增\", \"defaultCheck\": false}, {\"action\": \"query\", \"describe\": \"查询\", \"defaultCheck\": false}, {\"action\": \"edit\", \"describe\": \"修改\", \"defaultCheck\": false}, {\"action\": \"delete\", \"describe\": \"删除\", \"defaultCheck\": false}]','[\"add\", \"query\", \"edit\", \"delete\"]');
INSERT INTO `menus` (`id`,`name`,`parent_id`,`meta`,`component`,`redirect`,`path`,`created_at`,`updated_at`,`action_data`,`action_list`) VALUES (1002,'InstanceInspection',1,'{\"icon\": \"table\", \"show\": true, \"title\": \"menu.instance.inspection\"}','InstanceInspection',NULL,'/instance/inspection','2023-04-17 15:32:49','2023-05-04 16:29:15','[{\"action\": \"get\", \"describe\": \"详情\", \"defaultCheck\": false}, {\"action\": \"query\", \"describe\": \"查询\", \"defaultCheck\": false}]','[\"get\", \"query\"]');
INSERT INTO `menus` (`id`,`name`,`parent_id`,`meta`,`component`,`redirect`,`path`,`created_at`,`updated_at`,`action_data`,`action_list`) VALUES (2001,'SystemUser',2,'{\"icon\": \"table\", \"show\": true, \"title\": \"menu.system.user\"}','SystemUser',NULL,'/system/user','2023-04-17 15:32:49','2023-05-04 16:29:53','[{\"action\": \"add\", \"describe\": \"新增\", \"defaultCheck\": false}, {\"action\": \"query\", \"describe\": \"查询\", \"defaultCheck\": false}, {\"action\": \"edit\", \"describe\": \"修改\", \"defaultCheck\": false}, {\"action\": \"delete\", \"describe\": \"删除\", \"defaultCheck\": false}, {\"action\": \"resetPassword\", \"describe\": \"重置密码\", \"defaultCheck\": false}]','[\"add\", \"query\", \"edit\", \"delete\", \"resetPassword\"]');
INSERT INTO `menus` (`id`,`name`,`parent_id`,`meta`,`component`,`redirect`,`path`,`created_at`,`updated_at`,`action_data`,`action_list`) VALUES (2002,'SystemRole',2,'{\"icon\": \"table\", \"show\": true, \"title\": \"menu.system.role\"}','SystemRole',NULL,'/system/role','2023-04-17 15:32:49','2023-05-04 16:29:53','[{\"action\": \"add\", \"describe\": \"新增\", \"defaultCheck\": false}, {\"action\": \"query\", \"describe\": \"查询\", \"defaultCheck\": false}, {\"action\": \"edit\", \"describe\": \"修改\", \"defaultCheck\": false}, {\"action\": \"delete\", \"describe\": \"删除\", \"defaultCheck\": false}, {\"action\": \"funcPerms\", \"describe\": \"功能权限\", \"defaultCheck\": false}]','[\"add\", \"query\", \"edit\", \"delete\", \"funcPerms\"]');
Expand Down

0 comments on commit 84d4a78

Please sign in to comment.