fix: drop sys_menu while upgrade

This commit is contained in:
2024-10-15 15:12:42 +08:00
parent b0db83a0a9
commit 75b623403f
2 changed files with 108 additions and 109 deletions

View File

@@ -1,6 +1,5 @@
SET FOREIGN_KEY_CHECKS=0;
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE IF NOT EXISTS `sys_dept` (
`dept_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门id',
`parent_id` bigint(20) DEFAULT 0 COMMENT '父部门id 默认0',