From ef1c0acb833ea30d6618444887140cae1136c6ac Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 9 Mar 2022 17:52:08 +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 --- .../main/resources/db/migration/V109__v1.18.1_release.sql | 5 ++++- .../src/main/resources/db/migration/V110__v1.19_release.sql | 3 --- 2 files changed, 4 insertions(+), 4 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..56166b1a75 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,6 @@ 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_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); diff --git a/backend/src/main/resources/db/migration/V110__v1.19_release.sql b/backend/src/main/resources/db/migration/V110__v1.19_release.sql index d2115f476e..1b52ba1776 100644 --- a/backend/src/main/resources/db/migration/V110__v1.19_release.sql +++ b/backend/src/main/resources/db/migration/V110__v1.19_release.sql @@ -1,6 +1,3 @@ --- module management -INSERT INTO system_parameter (param_key, param_value, type, sort) -VALUES ('metersphere.module.workstation', 'ENABLE', 'text', 1); DROP PROCEDURE IF EXISTS project_api_appl; DELIMITER //