Files
whatshooked/sql/postgres/001_init_schema.down.sql
Hein 1490e0b596
Some checks failed
CI / Test (1.23) (push) Failing after -30m37s
CI / Test (1.22) (push) Failing after -30m33s
CI / Build (push) Failing after -30m45s
CI / Lint (push) Failing after -30m39s
feat(ui): add message cache management page and dashboard enhancements
- Introduced MessageCachePage for browsing and managing cached webhook events.
- Enhanced DashboardPage to display runtime stats and message cache information.
- Added new API types for message cache events and system stats.
- Integrated SwaggerPage for API documentation and live request testing.
2026-03-05 00:32:57 +02:00

12 lines
500 B
SQL

-- Rollback migration for initial schema
-- This drops all tables created in 001_init_schema.up.sql
-- Drop tables in reverse order (to handle foreign key constraints)
DROP TABLE IF EXISTS public.message_cache CASCADE;
DROP TABLE IF EXISTS public.sessions CASCADE;
DROP TABLE IF EXISTS public.event_logs CASCADE;
DROP TABLE IF EXISTS public.whatsapp_account CASCADE;
DROP TABLE IF EXISTS public.hooks CASCADE;
DROP TABLE IF EXISTS public.api_keys CASCADE;
DROP TABLE IF EXISTS public.users CASCADE;