Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
bfdd4c655e
commit
5520ba109e
@@ -2538,7 +2538,10 @@ export type Database = {
|
||||
notes: string | null
|
||||
paid: boolean
|
||||
paid_amount: number | null
|
||||
paid_method: string | null
|
||||
paid_on: string | null
|
||||
paid_reference: string | null
|
||||
payment_request_id: string | null
|
||||
plan_id: string
|
||||
sort_order: number
|
||||
updated_at: string
|
||||
@@ -2552,7 +2555,10 @@ export type Database = {
|
||||
notes?: string | null
|
||||
paid?: boolean
|
||||
paid_amount?: number | null
|
||||
paid_method?: string | null
|
||||
paid_on?: string | null
|
||||
paid_reference?: string | null
|
||||
payment_request_id?: string | null
|
||||
plan_id: string
|
||||
sort_order?: number
|
||||
updated_at?: string
|
||||
@@ -2566,7 +2572,10 @@ export type Database = {
|
||||
notes?: string | null
|
||||
paid?: boolean
|
||||
paid_amount?: number | null
|
||||
paid_method?: string | null
|
||||
paid_on?: string | null
|
||||
paid_reference?: string | null
|
||||
payment_request_id?: string | null
|
||||
plan_id?: string
|
||||
sort_order?: number
|
||||
updated_at?: string
|
||||
@@ -2579,6 +2588,13 @@ export type Database = {
|
||||
referencedRelation: "collection_ledger_entries"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "payment_plan_installments_payment_request_id_fkey"
|
||||
columns: ["payment_request_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "payment_requests"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "payment_plan_installments_plan_id_fkey"
|
||||
columns: ["plan_id"]
|
||||
@@ -2590,7 +2606,8 @@ export type Database = {
|
||||
}
|
||||
payment_plans: {
|
||||
Row: {
|
||||
collection_id: string
|
||||
case_id: string | null
|
||||
collection_id: string | null
|
||||
created_at: string
|
||||
created_by: string | null
|
||||
down_payment: number
|
||||
@@ -2606,7 +2623,8 @@ export type Database = {
|
||||
updated_at: string
|
||||
}
|
||||
Insert: {
|
||||
collection_id: string
|
||||
case_id?: string | null
|
||||
collection_id?: string | null
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
down_payment?: number
|
||||
@@ -2622,7 +2640,8 @@ export type Database = {
|
||||
updated_at?: string
|
||||
}
|
||||
Update: {
|
||||
collection_id?: string
|
||||
case_id?: string | null
|
||||
collection_id?: string | null
|
||||
created_at?: string
|
||||
created_by?: string | null
|
||||
down_payment?: number
|
||||
@@ -2638,6 +2657,13 @@ export type Database = {
|
||||
updated_at?: string
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "payment_plans_case_id_fkey"
|
||||
columns: ["case_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "cases"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "payment_plans_collection_id_fkey"
|
||||
columns: ["collection_id"]
|
||||
|
||||
Reference in New Issue
Block a user