From 871862bd005d9a0267bbba402d4b8f3086111905 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 12 Dec 2022 09:54:39 +0800 Subject: [PATCH] ... --- .../src/main/resources/db/V8.3__add_table.sql | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/renren-admin/src/main/resources/db/V8.3__add_table.sql b/renren-admin/src/main/resources/db/V8.3__add_table.sql index a1235511..601dad11 100644 --- a/renren-admin/src/main/resources/db/V8.3__add_table.sql +++ b/renren-admin/src/main/resources/db/V8.3__add_table.sql @@ -1,15 +1,14 @@ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; - -CREATE TABLE `sys_audit_team` ( - `id` bigint NOT NULL COMMENT '主键ID', - `creator` bigint NOT NULL COMMENT '创建人', - `create_date` datetime NOT NULL COMMENT '创建时间', - `name` longtext NOT NULL COMMENT '审核组名称', - `member` json NOT NULL COMMENT '审核组成员id数组', - `index` varchar(255) NULL COMMENT '审核组索引', +drop table IF EXISTS `sys_audit_team`; +create TABLE `sys_audit_team` ( + `id` bigint NOT NULL comment '主键ID', + `creator` bigint NOT NULL comment '创建人', + `create_date` datetime NOT NULL comment '创建时间', + `name` longtext NOT NULL comment '审核组名称', + `member` json NOT NULL comment '审核组成员id数组', + `index` varchar(255) NULL comment '审核组索引', PRIMARY KEY (`id`), - INDEX `name`(`name`) USING BTREE COMMENT '审核组名称索引' -) COMMENT = '流程审核组组员'; - + INDEX `name`(`name`) USING BTREE comment '审核组名称索引' +) comment = '流程审核组组员'; SET FOREIGN_KEY_CHECKS = 1; \ No newline at end of file