DELETE arp
FROM admin_role_permissions arp
JOIN admin_permissions p ON p.id = arp.permission_id
WHERE p.code IN ('notification:view', 'notification:read', 'notification:read-all', 'notification:delete');

DELETE FROM admin_menus
WHERE code = 'notifications'
   OR permission_code IN ('notification:view', 'notification:read', 'notification:read-all', 'notification:delete');

DELETE FROM admin_permissions
WHERE code IN ('notification:view', 'notification:read', 'notification:read-all', 'notification:delete');

DROP TABLE IF EXISTS admin_notifications;
