fix 修复 使用雪花id 导致 部门祖籍字段 长度不够问题

This commit is contained in:
疯狂的狮子Li
2022-04-15 11:52:44 +08:00
parent d51d8ad877
commit e72b878380
5 changed files with 6 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ drop table if exists sys_dept;
create table sys_dept (
dept_id bigint(20) not null 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 '部门名称',
order_num int(4) default 0 comment '显示顺序',
leader varchar(20) default null comment '负责人',