mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 11:11:13 -05:00
Fix: Implement database schema and code updates
This commit is contained in:
@@ -1495,20 +1495,26 @@ export type Database = {
|
||||
}
|
||||
item_edit_history: {
|
||||
Row: {
|
||||
changed_fields: string[] | null
|
||||
edit_reason: string | null
|
||||
edited_at: string
|
||||
editor_id: string
|
||||
edited_by: string
|
||||
id: string
|
||||
item_id: string
|
||||
}
|
||||
Insert: {
|
||||
changed_fields?: string[] | null
|
||||
edit_reason?: string | null
|
||||
edited_at?: string
|
||||
editor_id: string
|
||||
edited_by: string
|
||||
id?: string
|
||||
item_id: string
|
||||
}
|
||||
Update: {
|
||||
changed_fields?: string[] | null
|
||||
edit_reason?: string | null
|
||||
edited_at?: string
|
||||
editor_id?: string
|
||||
edited_by?: string
|
||||
id?: string
|
||||
item_id?: string
|
||||
}
|
||||
@@ -1522,6 +1528,41 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
item_field_changes: {
|
||||
Row: {
|
||||
created_at: string | null
|
||||
edit_history_id: string
|
||||
field_name: string
|
||||
id: string
|
||||
new_value: string | null
|
||||
old_value: string | null
|
||||
}
|
||||
Insert: {
|
||||
created_at?: string | null
|
||||
edit_history_id: string
|
||||
field_name: string
|
||||
id?: string
|
||||
new_value?: string | null
|
||||
old_value?: string | null
|
||||
}
|
||||
Update: {
|
||||
created_at?: string | null
|
||||
edit_history_id?: string
|
||||
field_name?: string
|
||||
id?: string
|
||||
new_value?: string | null
|
||||
old_value?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "item_field_changes_edit_history_id_fkey"
|
||||
columns: ["edit_history_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "item_edit_history"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
list_items: {
|
||||
Row: {
|
||||
created_at: string | null
|
||||
|
||||
Reference in New Issue
Block a user