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