fix: update sys_dept&post&user

This commit is contained in:
2023-11-07 10:56:59 +08:00
parent 413838ffea
commit 56cff767a6
3 changed files with 3 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
SET FOREIGN_KEY_CHECKS=0;
DROP TABLE IF EXISTS `omc_db`.`sys_dept`;
CREATE TABLE `omc_db`.`sys_dept` (
CREATE TABLE IF NOT EXISTS `omc_db`.`sys_dept` (
`dept_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门id',
`parent_id` bigint(20) NULL DEFAULT 0 COMMENT '父部门id 默认0',
`ancestors` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '祖级列表',