From bf37790b12252b164b6337bc98cfea878eabe42a Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Wed, 20 Sep 2023 10:04:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):?= =?UTF-8?q?=20=E5=88=9D=E5=A7=8B=E5=8C=96=E9=BB=98=E8=AE=A4=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=89=88=E6=9C=ACSQL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql index ada1eb3fc7..003e263f1f 100644 --- a/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql +++ b/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql @@ -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;