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

@ -425,7 +425,7 @@ CREATE TABLE [sys_dept]
(
[dept_id] bigint NOT NULL,
[parent_id] bigint DEFAULT ((0)) NULL,
[ancestors] nvarchar(50) DEFAULT '' NULL,
[ancestors] nvarchar(500)DEFAULT '' NULL,
[dept_name] nvarchar(30) DEFAULT '' NULL,
[order_num] int DEFAULT ((0)) NULL,
[leader] nvarchar(20) NULL,