diff --git a/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_12_1__data.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_12_1__data.sql index 366c4374c6..4300df00f3 100644 --- a/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_12_1__data.sql +++ b/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_12_1__data.sql @@ -35,5 +35,8 @@ INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'PROJECT_APPLICATION_TEST_PLAN:READ'); INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'PROJECT_APPLICATION_TEST_PLAN:UPDATE'); +-- 已存在的项目都开启测试计划模块 +UPDATE project set module_setting = '["bugManagement","caseManagement","apiTest","testPlan"]'; + -- set innodb lock wait timeout to default SET SESSION innodb_lock_wait_timeout = DEFAULT;