Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-19 15:45:40 +00:00
co-authored by renee-png
parent 87f372424d
commit 2feb021756
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,9 @@
ALTER TABLE public.fee_schedule_items
ADD COLUMN IF NOT EXISTS pricing_type text NOT NULL DEFAULT 'hourly';
ALTER TABLE public.fee_schedule_items
DROP CONSTRAINT IF EXISTS fee_schedule_items_pricing_type_check;
ALTER TABLE public.fee_schedule_items
ADD CONSTRAINT fee_schedule_items_pricing_type_check
CHECK (pricing_type IN ('hourly', 'flat'));