From c14fe248782b455043cea0917e06b09ff9b8eecf Mon Sep 17 00:00:00 2001 From: dinggang <2498628697@qq.com> Date: Thu, 13 Oct 2022 17:04:58 +0800 Subject: [PATCH] ... --- config/db/V6.7__tb_fuse_resource_add_col.sql | 5 ++--- .../src/main/resources/db/V6.7__tb_fuse_resource_add_col.sql | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/config/db/V6.7__tb_fuse_resource_add_col.sql b/config/db/V6.7__tb_fuse_resource_add_col.sql index cd92a290..e0ab1d01 100644 --- a/config/db/V6.7__tb_fuse_resource_add_col.sql +++ b/config/db/V6.7__tb_fuse_resource_add_col.sql @@ -1,3 +1,2 @@ -ALTER TABLE `tb_fuse_resource` ADD COLUMN `type` int NULL DEFAULT 0 COMMENT '资源类型'; -ALTER TABLE `tb_fuse_resource` ADD COLUMN `dept_name` int NULL DEFAULT 0 COMMENT '部门名称'; -ALTER TABLE `tb_fuse_resource` ADD COLUMN `resource_name` int NULL DEFAULT 0 COMMENT '资源名称'; \ No newline at end of file +ALTER TABLE `tb_fuse_resource` ADD COLUMN `dept_name` varchar(255) NULL COMMENT '部门名称'; +ALTER TABLE `tb_fuse_resource` ADD COLUMN `resource_name` varchar(255) NULL COMMENT '资源名称'; \ No newline at end of file diff --git a/renren-admin/src/main/resources/db/V6.7__tb_fuse_resource_add_col.sql b/renren-admin/src/main/resources/db/V6.7__tb_fuse_resource_add_col.sql index cd92a290..e0ab1d01 100644 --- a/renren-admin/src/main/resources/db/V6.7__tb_fuse_resource_add_col.sql +++ b/renren-admin/src/main/resources/db/V6.7__tb_fuse_resource_add_col.sql @@ -1,3 +1,2 @@ -ALTER TABLE `tb_fuse_resource` ADD COLUMN `type` int NULL DEFAULT 0 COMMENT '资源类型'; -ALTER TABLE `tb_fuse_resource` ADD COLUMN `dept_name` int NULL DEFAULT 0 COMMENT '部门名称'; -ALTER TABLE `tb_fuse_resource` ADD COLUMN `resource_name` int NULL DEFAULT 0 COMMENT '资源名称'; \ No newline at end of file +ALTER TABLE `tb_fuse_resource` ADD COLUMN `dept_name` varchar(255) NULL COMMENT '部门名称'; +ALTER TABLE `tb_fuse_resource` ADD COLUMN `resource_name` varchar(255) NULL COMMENT '资源名称'; \ No newline at end of file