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,13 @@
-- Drop the unique constraint on (association_id, charge_type) to allow multiple mappings per charge type
ALTER TABLE public.buildium_gl_mappings DROP CONSTRAINT IF EXISTS buildium_gl_mappings_association_id_charge_type_key;
-- Add amount threshold columns
ALTER TABLE public.buildium_gl_mappings
ADD COLUMN IF NOT EXISTS amount_min numeric DEFAULT NULL,
ADD COLUMN IF NOT EXISTS amount_max numeric DEFAULT NULL;
-- Add a unique constraint that includes amount thresholds
ALTER TABLE public.buildium_gl_mappings
ADD CONSTRAINT buildium_gl_mappings_assoc_type_amount_unique
UNIQUE (association_id, charge_type, amount_min, amount_max);