fix(性能测试): 修复缺少sql的问题

This commit is contained in:
Captain.B 2021-03-16 16:41:38 +08:00
parent d35d135478
commit 15feda52f6
1 changed files with 3 additions and 0 deletions

View File

@ -147,6 +147,9 @@ alter table schedule drop column custom_data;
-- add sort column
alter table load_test_file add sort int default 0;
alter table file_metadata
add project_id VARCHAR(50) null;
UPDATE file_metadata JOIN (SELECT file_id, project_id
FROM load_test_file
JOIN load_test ON test_id = load_test.id) temp ON file_id = file_metadata.id