DELETE rp FROM qipai_role_permissions rp
INNER JOIN qipai_permissions p ON p.id = rp.permission_id
WHERE p.code IN ('cleaning.task.write', 'cleaning.statistics.read');

DELETE FROM qipai_permissions
WHERE code IN ('cleaning.task.write', 'cleaning.statistics.read');

DROP TABLE IF EXISTS qipai_cleaning_task_events;
DROP TABLE IF EXISTS qipai_cleaning_tasks;

DELETE FROM qipai_schema_migrations
WHERE version = '2026062525';
