-- 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_accounts CASCADE;
DROP TABLE IF EXISTS public.hooks CASCADE;
DROP TABLE IF EXISTS public.api_keys CASCADE;
DROP TABLE IF EXISTS public.users CASCADE;
