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,11 @@
-- Add association_ids array column to chart_of_accounts
ALTER TABLE public.chart_of_accounts ADD COLUMN association_ids UUID[] DEFAULT '{}';
-- Migrate existing association_id values into the array
UPDATE public.chart_of_accounts
SET association_ids = ARRAY[association_id]
WHERE association_id IS NOT NULL AND (association_ids IS NULL OR association_ids = '{}');
-- Create index for array containment queries
CREATE INDEX idx_chart_of_accounts_association_ids ON public.chart_of_accounts USING GIN (association_ids);