chore: ddl位置修改
This commit is contained in:
parent
16434c4193
commit
4e2b49a6e3
|
@ -178,9 +178,6 @@ CREATE INDEX idx_source_id ON operation_history(`source_id`);
|
||||||
-- 修改缺陷自定义字段值长度(由于要支持三方平台富文本存储)
|
-- 修改缺陷自定义字段值长度(由于要支持三方平台富文本存储)
|
||||||
ALTER TABLE bug_custom_field MODIFY `value` longtext;
|
ALTER TABLE bug_custom_field MODIFY `value` longtext;
|
||||||
|
|
||||||
-- set innodb lock wait timeout to default
|
|
||||||
SET SESSION innodb_lock_wait_timeout = DEFAULT;
|
|
||||||
|
|
||||||
-- 场景报告步骤结果内容
|
-- 场景报告步骤结果内容
|
||||||
CREATE TABLE IF NOT EXISTS api_scenario_report_detail_blob(
|
CREATE TABLE IF NOT EXISTS api_scenario_report_detail_blob(
|
||||||
`id` VARCHAR(50) NOT NULL COMMENT 'ID' ,
|
`id` VARCHAR(50) NOT NULL COMMENT 'ID' ,
|
||||||
|
@ -200,3 +197,9 @@ SELECT id, report_id, content FROM api_scenario_report_detail;
|
||||||
-- 删除原有的内容字段
|
-- 删除原有的内容字段
|
||||||
ALTER TABLE api_scenario_report_detail DROP COLUMN content;
|
ALTER TABLE api_scenario_report_detail DROP COLUMN content;
|
||||||
|
|
||||||
|
|
||||||
|
-- set innodb lock wait timeout to default
|
||||||
|
SET SESSION innodb_lock_wait_timeout = DEFAULT;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue