소스 검색

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

疯狂的狮子Li 4 년 전
부모
커밋
bcce99bb7e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sql/ry-cloud.sql

+ 1 - 1
sql/ry-cloud.sql

@@ -7,7 +7,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 '负责人',