Files
be.ems/database/upgrade/upg_20250409.sql
2025-04-09 19:04:27 +08:00

25 lines
2.9 KiB
SQL

PRAGMA foreign_keys = false;
DELETE FROM "mml_subscriber" WHERE "id" = 609;
INSERT INTO "mml_subscriber" ("id", "ne_type", "category", "cat_display", "operation", "object", "mml_display", "param_json", "status") VALUES (609, 'UDM', 'other', 'Other', 'set suci', '', 'Set SUCI', '[{"comment":"","display":"ID","filter":"","name":"id","optional":"false","type":"string"},{"comment":"","display":"Scheme","filter":"","name":"scheme","optional":"false","type":"string"},{"comment":"","display":"Private Key","filter":"","name":"privatekey","optional":"false","type":"string"},{"comment":"","display":"Public Key","filter":"","name":"publickey","optional":"false","type":"string"}]', 'Active');
DELETE FROM "mml_subscriber" WHERE "id" = 610;
INSERT INTO "mml_subscriber" ("id", "ne_type", "category", "cat_display", "operation", "object", "mml_display", "param_json", "status") VALUES (610, 'UDM', 'other', 'Other', 'set op', '', 'Set OP', '[{"comment":"","display":"ID","filter":"","name":"id","optional":"false","type":"string"},{"comment":"","display":"Value","filter":"","name":"value","optional":"false","type":"string"}]', 'Active');
DELETE FROM "mml_subscriber" WHERE "id" = 611;
INSERT INTO "mml_subscriber" ("id", "ne_type", "category", "cat_display", "operation", "object", "mml_display", "param_json", "status") VALUES (611, 'UDM', 'other', 'Other', 'dec key', '', 'Check Key Profile', 'null', 'Active');
UPDATE "mml_subscriber" SET "ne_type" = 'UDM', "category" = 'authdataManagement', "cat_display" = 'Authentication Data Management', "operation" = 'export', "object" = 'authdat', "mml_display" = 'Export Auth Data to File', "param_json" = '[{"comment":"","display":"Path File","filter":"","name":"path","optional":"false","type":"string"}]', "status" = 'Inactive' WHERE "id" = 596;
UPDATE "mml_subscriber" SET "ne_type" = 'UDM', "category" = 'subscriberManagement', "cat_display" = 'Subcriber Management', "operation" = 'export', "object" = 'udmuser', "mml_display" = 'Export Subscriber Data to File', "param_json" = '[{"comment":"","display":"Path File","filter":"","name":"path","optional":"false","type":"string"}]', "status" = 'Inactive' WHERE "id" = 606;
UPDATE "mml_subscriber" SET "ne_type" = 'UDM', "category" = 'subscriberManagement', "cat_display" = 'Subcriber Management', "operation" = 'sync', "object" = 'start', "mml_display" = 'Sync UDM Data From Public UDM', "param_json" = 'null', "status" = 'Inactive' WHERE "id" = 607;
UPDATE "mml_subscriber" SET "ne_type" = 'UDM', "category" = 'subscriberManagement', "cat_display" = 'Subcriber Management', "operation" = 'sync', "object" = 'state', "mml_display" = 'Query State of Sync Task', "param_json" = 'null', "status" = 'Inactive' WHERE "id" = 608;
DELETE FROM "sys_role_menu" WHERE "role_id" = 2 AND "menu_id" = 2107;
INSERT INTO `sys_role_menu` VALUES (2, 2107);
DELETE FROM "sys_role_menu" WHERE "role_id" = 2 AND "menu_id" = 2109;
INSERT INTO `sys_role_menu` VALUES (2, 2109);
PRAGMA foreign_keys = true;