mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-29 18:48:13 +08:00
fix(测试计划): 测试计划关联功能用例结果默认值问题
This commit is contained in:
parent
25952d43a5
commit
82294ef89d
@ -94,7 +94,7 @@ ALTER TABLE exec_task ADD env_grouped bit(1) DEFAULT 0 NULL COMMENT '是否是
|
||||
ALTER TABLE exec_task ADD pool_id varchar(50) NULL COMMENT '资源池ID';
|
||||
|
||||
-- 执行状态字段添加默认值
|
||||
ALTER TABLE test_plan_functional_case ALTER COLUMN last_exec_result SET DEFAULT '';
|
||||
ALTER TABLE test_plan_functional_case ALTER COLUMN last_exec_result SET DEFAULT 'PENDING';
|
||||
ALTER TABLE test_plan_api_case ALTER COLUMN last_exec_result SET DEFAULT '';
|
||||
ALTER TABLE test_plan_api_scenario ALTER COLUMN last_exec_result SET DEFAULT '';
|
||||
ALTER TABLE api_test_case ALTER COLUMN last_report_status SET DEFAULT '';
|
||||
|
@ -2,7 +2,7 @@
|
||||
SET SESSION innodb_lock_wait_timeout = 7200;
|
||||
|
||||
-- 批量更新执行状态为空串
|
||||
UPDATE test_plan_functional_case SET last_exec_result = '' WHERE last_exec_result is null OR last_exec_result = 'PENDING' OR last_exec_result = '-';
|
||||
UPDATE test_plan_functional_case SET last_exec_result = 'PENDING' WHERE last_exec_result is null OR last_exec_result = '' OR last_exec_result = '-';
|
||||
UPDATE test_plan_api_case SET last_exec_result = '' WHERE last_exec_result is null OR last_exec_result = 'PENDING' OR last_exec_result = '-';
|
||||
UPDATE test_plan_api_scenario SET last_exec_result = '' WHERE last_exec_result is null OR last_exec_result = 'PENDING' OR last_exec_result = '-';
|
||||
UPDATE api_test_case SET last_report_status = '' WHERE last_report_status = 'PENDING' OR last_report_status = '-';
|
||||
|
Loading…
Reference in New Issue
Block a user