build: 增加发版对应的flyway (#15232)

* build: 增加发版对应的flyway

* Update V121__1.20.8__release.sql

Co-authored-by: CaptainB <bin@fit2cloud.com>
Co-authored-by: fit2-zhao <70558837+fit2-zhao@users.noreply.github.com>
This commit is contained in:
MeterSphere Bot 2022-06-23 10:03:51 +08:00 committed by GitHub
parent 91dc57618b
commit dbac38446e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -1 +1,12 @@
-- 初始化 sql
-- V121_1-20-8_clear_test_case_node
-- 之前的版本不知道什么情况下生成了 level=0 的脏数据
-- 已无法复现,清理下脏数据
DELETE FROM test_case_node WHERE `level` = 0;
-- V121_1-20-8_modify_test_case_index
-- 由于公共用例查询SQL排序字段未使用原本的联合索引
-- 需新加一个联合索引
ALTER TABLE test_case ADD INDEX test_case_public_order_index(`case_public`, `order`);