Approve database migration

This commit is contained in:
gpt-engineer-app[bot]
2025-10-15 19:29:06 +00:00
parent 359a156260
commit 444634dc85
9 changed files with 1020 additions and 0 deletions

View File

@@ -584,6 +584,100 @@ export type Database = {
}
Relationships: []
}
entity_timeline_events: {
Row: {
approved_by: string | null
created_at: string
created_by: string | null
description: string | null
display_order: number | null
entity_id: string
entity_type: string
event_date: string
event_date_precision: string | null
event_type: string
from_entity_id: string | null
from_location_id: string | null
from_value: string | null
id: string
is_public: boolean
submission_id: string | null
title: string
to_entity_id: string | null
to_location_id: string | null
to_value: string | null
updated_at: string
}
Insert: {
approved_by?: string | null
created_at?: string
created_by?: string | null
description?: string | null
display_order?: number | null
entity_id: string
entity_type: string
event_date: string
event_date_precision?: string | null
event_type: string
from_entity_id?: string | null
from_location_id?: string | null
from_value?: string | null
id?: string
is_public?: boolean
submission_id?: string | null
title: string
to_entity_id?: string | null
to_location_id?: string | null
to_value?: string | null
updated_at?: string
}
Update: {
approved_by?: string | null
created_at?: string
created_by?: string | null
description?: string | null
display_order?: number | null
entity_id?: string
entity_type?: string
event_date?: string
event_date_precision?: string | null
event_type?: string
from_entity_id?: string | null
from_location_id?: string | null
from_value?: string | null
id?: string
is_public?: boolean
submission_id?: string | null
title?: string
to_entity_id?: string | null
to_location_id?: string | null
to_value?: string | null
updated_at?: string
}
Relationships: [
{
foreignKeyName: "entity_timeline_events_from_location_id_fkey"
columns: ["from_location_id"]
isOneToOne: false
referencedRelation: "locations"
referencedColumns: ["id"]
},
{
foreignKeyName: "entity_timeline_events_submission_id_fkey"
columns: ["submission_id"]
isOneToOne: false
referencedRelation: "content_submissions"
referencedColumns: ["id"]
},
{
foreignKeyName: "entity_timeline_events_to_location_id_fkey"
columns: ["to_location_id"]
isOneToOne: false
referencedRelation: "locations"
referencedColumns: ["id"]
},
]
}
entity_versions_archive: {
Row: {
change_reason: string | null