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_user`;
CREATE TABLE `omc_db`.`sys_user` (
CREATE TABLE IF NOT EXISTS `omc_db`.`sys_user` (
`user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
`dept_id` bigint(20) NULL DEFAULT NULL COMMENT '部门ID',
`user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户账号',