diff --git a/backend/src/main/resources/db/migration/V2__metersphere_ddl.sql b/backend/src/main/resources/db/migration/V2__metersphere_ddl.sql index 5e69ceaade..cd6a2e1789 100644 --- a/backend/src/main/resources/db/migration/V2__metersphere_ddl.sql +++ b/backend/src/main/resources/db/migration/V2__metersphere_ddl.sql @@ -74,7 +74,7 @@ CREATE TABLE IF NOT EXISTS `load_test_report_log` ( `content` longtext , `part` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), - KEY `load_test_report_log_report_id_resource_name_index` (`report_id`,`resource_id`) + KEY `load_test_report_log_report_id_resource_name_index` (`report_id`,`resource_id`,`part`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ; CREATE TABLE IF NOT EXISTS `load_test_report_result` (