diff --git a/backend/framework/domain/src/main/resources/migration/3.3.0/dml/V3.3.0_2_1__data.sql b/backend/framework/domain/src/main/resources/migration/3.3.0/dml/V3.3.0_2_1__data.sql index 25925753c4..9bafc802bf 100644 --- a/backend/framework/domain/src/main/resources/migration/3.3.0/dml/V3.3.0_2_1__data.sql +++ b/backend/framework/domain/src/main/resources/migration/3.3.0/dml/V3.3.0_2_1__data.sql @@ -12,4 +12,7 @@ INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT INSERT INTO system_parameter (param_key, param_value, type) VALUES ('upload.file.size', '50', 'text'); -- 初次安装初始化用户缺少cft_token字段值 -UPDATE user SET cft_token = '/sU3a0dtnm5Ykmyj8LfCjA==' WHERE id = 'admin'; \ No newline at end of file +UPDATE user SET cft_token = '/sU3a0dtnm5Ykmyj8LfCjA==' WHERE id = 'admin'; + +-- set innodb lock wait timeout to default +SET SESSION innodb_lock_wait_timeout = DEFAULT; \ No newline at end of file diff --git a/backend/framework/domain/src/main/resources/migration/3.4.0/dml/V3.4.0_2_1__data.sql b/backend/framework/domain/src/main/resources/migration/3.4.0/dml/V3.4.0_2_1__data.sql index 666778f3d1..b7e4dc8695 100644 --- a/backend/framework/domain/src/main/resources/migration/3.4.0/dml/V3.4.0_2_1__data.sql +++ b/backend/framework/domain/src/main/resources/migration/3.4.0/dml/V3.4.0_2_1__data.sql @@ -8,3 +8,6 @@ UPDATE `schedule` set num = UUID_SHORT() % 10000000; -- 定时任务历史数据name处理 update `schedule` set name = '定时同步缺陷' where name = 'Bug Sync Job'; update `schedule` set name = '定时同步需求' where name = 'Demand Sync Job'; + +-- set innodb lock wait timeout to default +SET SESSION innodb_lock_wait_timeout = DEFAULT; \ No newline at end of file