Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
87f372424d
commit
2feb021756
@@ -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'));
|
||||
Reference in New Issue
Block a user