IntegrateService/config/rbac/clean_database.sql

15 lines
437 B
SQL

SET NAMES utf8mb3;
SET FOREIGN_KEY_CHECKS = 0;
DROP TABLE IF EXISTS `rbac_role_resource`;
DROP TABLE IF EXISTS `rbac_role`;
DROP TABLE IF EXISTS `rbac_user`;
DROP TABLE IF EXISTS `rbac_user_credential`;
DROP TABLE IF EXISTS `rbac_resource_data`;
DROP TABLE IF EXISTS `rbac_resource_type`;
DROP TABLE IF EXISTS `sys_operation_log`;
DROP TABLE IF EXISTS `sys_dict_data`;
DROP TABLE IF EXISTS `sys_dict_type`;
SET FOREIGN_KEY_CHECKS = 1;