Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
80ea414e92
commit
a5dd9244d3
@@ -3383,6 +3383,7 @@ export type Database = {
|
||||
created_by: string | null
|
||||
entry_date: string
|
||||
entry_type: string
|
||||
external_id: string | null
|
||||
id: string
|
||||
note: string | null
|
||||
source_invoice_id: string | null
|
||||
@@ -3399,6 +3400,7 @@ export type Database = {
|
||||
created_by?: string | null
|
||||
entry_date?: string
|
||||
entry_type: string
|
||||
external_id?: string | null
|
||||
id?: string
|
||||
note?: string | null
|
||||
source_invoice_id?: string | null
|
||||
@@ -3415,6 +3417,7 @@ export type Database = {
|
||||
created_by?: string | null
|
||||
entry_date?: string
|
||||
entry_type?: string
|
||||
external_id?: string | null
|
||||
id?: string
|
||||
note?: string | null
|
||||
source_invoice_id?: string | null
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE public.trust_ledger_entries ADD COLUMN IF NOT EXISTS external_id text;
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS trust_ledger_entries_external_id_key
|
||||
ON public.trust_ledger_entries (external_id) WHERE external_id IS NOT NULL;
|
||||
Reference in New Issue
Block a user