diff --git a/backend/src/main/resources/db/migration/V78__v1.8_release.sql b/backend/src/main/resources/db/migration/V78__v1.8_release.sql index 653d8be041..2b658eae4e 100644 --- a/backend/src/main/resources/db/migration/V78__v1.8_release.sql +++ b/backend/src/main/resources/db/migration/V78__v1.8_release.sql @@ -136,5 +136,8 @@ update schedule sch inner join load_test ldt on update schedule sch inner join api_test apiTest on apiTest.id = sch.resource_id 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 alter table schedule drop column custom_data; \ No newline at end of file