refactor: migrate sql增加超时时间。
This commit is contained in:
parent
1a378b3eab
commit
c9ef324876
|
@ -1,3 +1,4 @@
|
|||
SET SESSION innodb_lock_wait_timeout = 7200;
|
||||
-- 场景报告状态统一调整
|
||||
-- 失败状态
|
||||
update api_scenario_report set status ='ERROR' where status in ('Error','Timeout','Fail');
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
SET SESSION innodb_lock_wait_timeout = 7200;
|
||||
|
||||
ALTER TABLE api_execution_info ADD project_id VARCHAR ( 50 ) NULL;
|
||||
ALTER TABLE api_execution_info ADD execute_type VARCHAR ( 50 ) NULL;
|
||||
ALTER TABLE api_execution_info ADD version VARCHAR ( 255 ) NULL;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
SET SESSION innodb_lock_wait_timeout = 7200;
|
||||
|
||||
--
|
||||
-- 增加一个索引
|
||||
SELECT IF(EXISTS(SELECT DISTINCT index_name
|
||||
|
|
Loading…
Reference in New Issue