- 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.
12 lines
500 B
SQL
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;
|