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
+3
View File
@@ -1490,6 +1490,7 @@ export type Database = {
description: string | null
id: string
name: string
pricing_type: string
sort_order: number
updated_at: string
}
@@ -1503,6 +1504,7 @@ export type Database = {
description?: string | null
id?: string
name: string
pricing_type?: string
sort_order?: number
updated_at?: string
}
@@ -1516,6 +1518,7 @@ export type Database = {
description?: string | null
id?: string
name?: string
pricing_type?: string
sort_order?: number
updated_at?: string
}
@@ -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'));