提交 854b1b59 authored 作者: 宋文杰's avatar 宋文杰

feat(init): update sys_dept datatable structure

to add type field
上级 81215e96
...@@ -30,8 +30,10 @@ CREATE TABLE `sys_dept` ( ...@@ -30,8 +30,10 @@ CREATE TABLE `sys_dept` (
`del_flag` char(1) DEFAULT '0' COMMENT '是否删除 -1:已删除 0:正常', `del_flag` char(1) DEFAULT '0' COMMENT '是否删除 -1:已删除 0:正常',
`parent_id` int(11) DEFAULT NULL, `parent_id` int(11) DEFAULT NULL,
`tenant_id` int(11) DEFAULT NULL, `tenant_id` int(11) DEFAULT NULL,
`type` varchar(10) DEFAULT '' COMMENT '类型:省厅|市局|省厅部门|市局部门',
PRIMARY KEY (`dept_id`) USING BTREE PRIMARY KEY (`dept_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='部门管理'; ) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='部门管理';
-- ---------------------------- -- ----------------------------
-- Records of sys_dept -- Records of sys_dept
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论