chore: SQL优化

This commit is contained in:
fit2-zhao 2024-06-12 18:21:54 +08:00 committed by Craftsman
parent c268cf20f5
commit 939ac5f94d
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ CREATE INDEX idx_plan ON api_scenario_report(`plan`);
-- 测试计划配置 增加运行模式 -- 测试计划配置 增加运行模式
ALTER table test_plan_config ALTER table test_plan_config
ADD COLUMN `case_run_mode` VARCHAR(50) NOT NULL DEFAULT 'PARALLEL' COMMENT '不同用例之间的执行方式(串行/并行)'; ADD COLUMN `case_run_mode` VARCHAR(50) NOT NULL DEFAULT 'PARALLEL' COMMENT '不同用例之间的执行方式(串行/并行)';
-- 修改默认资源池id -- 修改默认资源池id
UPDATE project_test_resource_pool AS ptrp UPDATE project_test_resource_pool AS ptrp
JOIN test_resource_pool AS trp ON ptrp.test_resource_pool_id = trp.id JOIN test_resource_pool AS trp ON ptrp.test_resource_pool_id = trp.id