-- Drop financial management tables
-- Migration: 20250110000001_create_financial_tables

DROP TRIGGER IF EXISTS update_financial_settings_updated_at ON financial_settings;
DROP TRIGGER IF EXISTS update_financial_reports_updated_at ON financial_reports;
DROP TRIGGER IF EXISTS update_expense_documents_updated_at ON expense_documents;
DROP TRIGGER IF EXISTS update_expenses_updated_at ON expenses;
DROP TRIGGER IF EXISTS update_sponsorship_documents_updated_at ON sponsorship_documents;
DROP TRIGGER IF EXISTS update_sponsorship_payments_updated_at ON sponsorship_payments;
DROP TRIGGER IF EXISTS update_sponsorships_updated_at ON sponsorships;
DROP TRIGGER IF EXISTS update_budgets_updated_at ON budgets;

DROP FUNCTION IF EXISTS update_updated_at_column();

DROP TABLE IF EXISTS financial_settings;
DROP TABLE IF EXISTS financial_reports;
DROP TABLE IF EXISTS expense_documents;
DROP TABLE IF EXISTS expenses;
DROP TABLE IF EXISTS sponsorship_documents;
DROP TABLE IF EXISTS sponsorship_payments;
DROP TABLE IF EXISTS sponsorships;
DROP TABLE IF EXISTS budgets;
