From 85d8b8ebc434505a5eb929c9156dc0386e3fc6ba Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 11 Mar 2022 16:08:37 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E8=B0=83=E6=95=B4flyway?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/db/migration/V109__v1.18.1_release.sql | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/backend/src/main/resources/db/migration/V109__v1.18.1_release.sql b/backend/src/main/resources/db/migration/V109__v1.18.1_release.sql index 3d6d88f653..e8b65d4ec9 100644 --- a/backend/src/main/resources/db/migration/V109__v1.18.1_release.sql +++ b/backend/src/main/resources/db/migration/V109__v1.18.1_release.sql @@ -1,3 +1,9 @@ -ALTER TABLE `api_definition_exec_result` ADD INDEX projectIdIndex ( `project_id` ); -ALTER TABLE `api_scenario_report` ADD INDEX projectIdIndex ( `project_id` ); -ALTER TABLE `api_scenario_report` ADD INDEX projectIdexectypeIndex ( `project_id`,`execute_type` ); \ No newline at end of file +ALTER TABLE `api_definition_exec_result` + ADD INDEX projectIdIndex (`project_id`); +ALTER TABLE `api_scenario_report` + ADD INDEX projectIdIndex (`project_id`); +ALTER TABLE `api_scenario_report` + ADD INDEX projectIdexectypeIndex (`project_id`, `execute_type`); +-- module management +INSERT INTO system_parameter (param_key, param_value, type, sort) +VALUES ('metersphere.module.workstation', 'ENABLE', 'text', 1); \ No newline at end of file