mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-23 10:58:34 +08:00
fix 修复 使用雪花id 导致 部门祖籍字段 长度不够问题
This commit is contained in:
@@ -7,7 +7,7 @@ drop table if exists sys_dept;
|
|||||||
create table sys_dept (
|
create table sys_dept (
|
||||||
dept_id bigint(20) not null comment '部门id',
|
dept_id bigint(20) not null comment '部门id',
|
||||||
parent_id bigint(20) default 0 comment '父部门id',
|
parent_id bigint(20) default 0 comment '父部门id',
|
||||||
ancestors varchar(50) default '' comment '祖级列表',
|
ancestors varchar(500) default '' comment '祖级列表',
|
||||||
dept_name varchar(30) default '' comment '部门名称',
|
dept_name varchar(30) default '' comment '部门名称',
|
||||||
order_num int(4) default 0 comment '显示顺序',
|
order_num int(4) default 0 comment '显示顺序',
|
||||||
leader varchar(20) default null comment '负责人',
|
leader varchar(20) default null comment '负责人',
|
||||||
|
|||||||
Reference in New Issue
Block a user