refactor(项目设置): 初始化默认项目版本SQL

This commit is contained in:
song-cc-rock 2023-09-20 10:04:18 +08:00 committed by 刘瑞斌
parent 7cc063f6d5
commit bf37790b12
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ Insert into project_robot(id, project_id, name, platform, webhook, type, app_key
Insert into project_robot(id, project_id, name, platform, webhook, type, app_key, app_secret, enable, create_user, create_time, update_user, update_time, description) VALUES (UUID_SHORT(), '100001100001', '邮件', 'MAIL', 'NONE', null, null, null, true, 'admin', unix_timestamp() * 1000,'admin', unix_timestamp() * 1000, null);
-- 初始化默认项目版本
INSERT INTO project_version (id, project_id, name, description, status, latest, publish_time, start_time, end_time, create_time, create_user) VALUES (UUID_SHORT(), 'default_project', 'v1.0', NULL, 'open', 0, NULL, NULL, NULL, UNIX_TIMESTAMP(), 'admin');
INSERT INTO project_version (id, project_id, name, description, status, latest, publish_time, start_time, end_time, create_time, create_user) VALUES (UUID_SHORT(), '100001100001', 'v1.0', NULL, 'open', 0, NULL, NULL, NULL, UNIX_TIMESTAMP() * 1000, 'admin');
-- set innodb lock wait timeout to default
SET SESSION innodb_lock_wait_timeout = DEFAULT;