fix: add column operation into table system_log

This commit is contained in:
2023-11-24 18:02:47 +08:00
parent af8e815ecb
commit 4b4a0f53ea
2 changed files with 12 additions and 2 deletions

View File

@@ -122,4 +122,9 @@ ADD
ALTER TABLE
`omc_db`.`mml_system`
ADD
COLUMN IF NOT EXISTS `status` enum('Active', 'Inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'Active' COMMENT '激活: Active 未激活: Inactive' AFTER `param_json`;
COLUMN IF NOT EXISTS `status` enum('Active', 'Inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'Active' COMMENT '激活: Active 未激活: Inactive' AFTER `param_json`;
ALTER TABLE
`omc_db`.`system_log`
ADD
COLUMN IF NOT EXISTS `operation` varchar(16) NULL AFTER `process_id`;

View File

@@ -122,4 +122,9 @@ ADD
ALTER TABLE
`omc_db`.`mml_system`
ADD
COLUMN IF NOT EXISTS `status` enum('Active', 'Inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'Active' COMMENT '激活: Active 未激活: Inactive' AFTER `param_json`;
COLUMN IF NOT EXISTS `status` enum('Active', 'Inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'Active' COMMENT '激活: Active 未激活: Inactive' AFTER `param_json`;
ALTER TABLE
`omc_db`.`system_log`
ADD
COLUMN IF NOT EXISTS `operation` varchar(16) NULL AFTER `process_id`;