Add ACMCC app source, Supabase backend, and project config

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-01 20:19:26 -04:00
parent 313b51b412
commit 183fe0a93c
1422 changed files with 259271 additions and 0 deletions
@@ -0,0 +1,21 @@
-- Erase legacy QBO sync data so it doesn't conflict with the active Zoho integration
-- Clear QBO references on company bank transactions
UPDATE public.company_bank_transactions
SET qbo_id = NULL,
qbo_sync_status = NULL
WHERE qbo_id IS NOT NULL OR qbo_sync_status IS NOT NULL;
-- Clear QBO references on client invoices (no rows currently, but reset for safety)
UPDATE public.client_invoices
SET qbo_invoice_id = NULL,
qbo_sync_status = 'not_synced',
qbo_synced_at = NULL,
qbo_sync_error = NULL
WHERE qbo_invoice_id IS NOT NULL
OR qbo_sync_status NOT IN ('not_synced')
OR qbo_synced_at IS NOT NULL
OR qbo_sync_error IS NOT NULL;
-- Wipe the QBO sync log entirely
TRUNCATE TABLE public.qbo_sync_log;