From 5bfa7f9231f236ad2ec0966be4746f5b8b64706b Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 31 May 2024 13:57:35 +0800 Subject: [PATCH] ci: flyway GA --- .../migration/3.0.0/ddl/V3.0.0_13__ga_ddl.sql | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_13__ga_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_13__ga_ddl.sql index 68b6b6d49b..1365124c97 100644 --- a/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_13__ga_ddl.sql +++ b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_13__ga_ddl.sql @@ -1,13 +1,12 @@ -- set innodb lock wait timeout SET SESSION innodb_lock_wait_timeout = 7200; -DROP TABLE IF EXISTS platform_source; -CREATE TABLE platform_source( - `platform` VARCHAR(50) NOT NULL COMMENT '平台名称(国际飞书:LARK_SUITE,飞书:LARK,钉钉:DING_TALK,企业微信:WE_COM)' , - `config` BLOB NOT NULL COMMENT '平台信息配置' , - `enable` BIT NOT NULL DEFAULT 1 COMMENT '是否开启' , - `valid` BIT NOT NULL DEFAULT 0 COMMENT '名称' , - PRIMARY KEY (platform) +CREATE TABLE IF NOT EXISTS platform_source( + `platform` VARCHAR(50) NOT NULL COMMENT '平台名称(国际飞书:LARK_SUITE,飞书:LARK,钉钉:DING_TALK,企业微信:WE_COM)' , + `config` BLOB NOT NULL COMMENT '平台信息配置' , + `enable` BIT NOT NULL DEFAULT 1 COMMENT '是否开启' , + `valid` BIT NOT NULL DEFAULT 0 COMMENT '名称' , + PRIMARY KEY (platform) ) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '平台对接保存参数';