chore: set innodb_lock_wait_timeout default

This commit is contained in:
fit2-zhao 2024-10-09 09:40:58 +08:00 committed by Craftsman
parent 50a4a80884
commit 1a41bcae3f
2 changed files with 7 additions and 1 deletions

View File

@ -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';
UPDATE user SET cft_token = '/sU3a0dtnm5Ykmyj8LfCjA==' WHERE id = 'admin';
-- set innodb lock wait timeout to default
SET SESSION innodb_lock_wait_timeout = DEFAULT;

View File

@ -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;