From 6d850dddce9a3f20cc9a3a6986def231eff53eb5 Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Fri, 31 Mar 2023 13:27:16 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=907.3.4=E3=80=91=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E4=B8=9A=E5=8A=A1=E5=85=B3=E8=81=94=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=BF=A1=E6=81=AF=E7=9A=84=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../V7.3.4_20230331_1326__add_file_business.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/resources/db/migration/mysql/V7.3.4_20230331_1326__add_file_business.sql diff --git a/src/main/resources/db/migration/mysql/V7.3.4_20230331_1326__add_file_business.sql b/src/main/resources/db/migration/mysql/V7.3.4_20230331_1326__add_file_business.sql new file mode 100644 index 00000000..67e45e33 --- /dev/null +++ b/src/main/resources/db/migration/mysql/V7.3.4_20230331_1326__add_file_business.sql @@ -0,0 +1,12 @@ +CREATE TABLE `sys_file_business` ( + `file_business_id` bigint(20) NOT NULL COMMENT '主键id', + `business_id` bigint(20) NULL DEFAULT NULL COMMENT '业务主键id', + `file_id` bigint(20) NULL DEFAULT NULL COMMENT '关联文件表的id', + `download_count` int(11) NULL DEFAULT 0 COMMENT '下载次数', + `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `create_user` bigint(20) NULL DEFAULT NULL COMMENT '创建人', + `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间', + `update_user` bigint(20) NULL DEFAULT NULL COMMENT '修改人', + `tenant_id` bigint(20) NULL DEFAULT NULL COMMENT '租户id', + PRIMARY KEY (`file_business_id`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '业务关联的文件' ROW_FORMAT = Dynamic;