fix: customized sql

This commit is contained in:
simonzhangsz committed 2024-01-04 16:24:23 +08:00
1 parent 7400561d23
commit 4e9f5125c4
2 files changed
+12

No files matched your search

@@ -1,3 +1,5 @@
SET FOREIGN_KEY_CHECKS = 0;
REPLACE REPLACE
INTO `omc_db`.`sys_config` ( INTO `omc_db`.`sys_config` (
`config_id`, `config_id`,
@@ -255,3 +257,9 @@ VALUES (
0, 0,
NULL NULL
); );
REPLACE
INTO `omc_db`.`sys_role_menu` (`role_id`, `menu_id`)
VALUES (2, 2122);
SET FOREIGN_KEY_CHECKS = 1;
@@ -1,3 +1,5 @@
SET FOREIGN_KEY_CHECKS = 0;
REPLACE REPLACE
INTO `omc_db`.`sys_config` ( INTO `omc_db`.`sys_config` (
`config_id`, `config_id`,
@@ -257,3 +259,5 @@ VALUES (
); );
DELETE FROM `omc_db`.`sys_role_menu` WHERE `menu_id` = 2122 DELETE FROM `omc_db`.`sys_role_menu` WHERE `menu_id` = 2122
SET FOREIGN_KEY_CHECKS = 1;