Files
dafuweng-saiadmin6.x/server/db/remove_system_post.sql
2026-05-26 09:43:42 +08:00

15 lines
560 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 移除岗位Post相关数据表与菜单
-- 执行前请备份数据库
-- 删除岗位子菜单权限id: 41-47
DELETE FROM `sa_system_role_menu` WHERE `menu_id` IN (41, 42, 43, 44, 45, 46, 47);
DELETE FROM `sa_system_menu` WHERE `id` IN (41, 42, 43, 44, 45, 46, 47);
-- 删除岗位管理主菜单id: 7
DELETE FROM `sa_system_role_menu` WHERE `menu_id` = 7;
DELETE FROM `sa_system_menu` WHERE `id` = 7;
-- 删除用户岗位关联表与岗位信息表
DROP TABLE IF EXISTS `sa_system_user_post`;
DROP TABLE IF EXISTS `sa_system_post`;