Files
webman-buildadmin/database/MySQL_backup/remove_buildadmin_backend_member_menu.sql
zhenhui a033bf47b6 1.优化game_config
2.备份MySQL数据库
2026-04-28 15:50:16 +08:00

21 lines
1.0 KiB
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.
-- 已上线环境:移除后台「会员管理」目录及子菜单、相关安全配置项(与代码移除配套执行)
-- 执行前请备份数据库
DELETE FROM admin_rule WHERE `name` = 'user' OR `name` LIKE 'user/%';
DELETE FROM security_sensitive_data WHERE `id` = 2;
DELETE FROM security_data_recycle WHERE `id` = 5;
-- ---------------------------------------------------------------------------
-- 以下可选:物理删除会员业务表(执行后 /api/user、/api/account 等会员接口将不可用)
-- 若仍使用前台会员中心,请勿执行 DROP并保留 user、user_group、user_rule 等表
-- ---------------------------------------------------------------------------
-- SET FOREIGN_KEY_CHECKS = 0;
-- DROP TABLE IF EXISTS `user_money_log`;
-- DROP TABLE IF EXISTS `user_score_log`;
-- DROP TABLE IF EXISTS `user`;
-- DROP TABLE IF EXISTS `user_group`;
-- SET FOREIGN_KEY_CHECKS = 1;
-- 说明:`user_rule` 仍用于前台会员菜单与权限,若整体下线会员功能再单独处理