schedule表对旧数据name字段兼容的补充 (#1638)

* feat(测试跟踪): 测试用例下载模版增加标签列

* fix(接口定义): 扩大请求头键长度

* fix: schedule表对旧数据name字段兼容的补充
This commit is contained in:
Coooder-X 2021-03-15 21:24:28 +08:00 committed by GitHub
parent c2af5f6635
commit a2da6ad175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -136,5 +136,8 @@ update schedule sch inner join load_test ldt on
update schedule sch inner join api_test apiTest on update schedule sch inner join api_test apiTest on
apiTest.id = sch.resource_id apiTest.id = sch.resource_id
set sch.name = apiTest.name; set sch.name = apiTest.name;
update schedule sch inner join swagger_url_project sup on
sup.id = sch.resource_id
set sch.name = LEFT(SUBSTRING_INDEX(sup.swagger_url, '/', 3), 100);
-- delete an unused colum -- delete an unused colum
alter table schedule drop column custom_data; alter table schedule drop column custom_data;