Fix database schema

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 14:25:03 +00:00
parent badb2cd865
commit 921abb63a1
8 changed files with 737 additions and 44 deletions

View File

@@ -2072,6 +2072,53 @@ export type Database = {
},
]
}
ride_coaster_stats: {
Row: {
category: string | null
created_at: string | null
description: string | null
display_order: number | null
id: string
ride_id: string
stat_name: string
stat_value: number
unit: string | null
updated_at: string | null
}
Insert: {
category?: string | null
created_at?: string | null
description?: string | null
display_order?: number | null
id?: string
ride_id: string
stat_name: string
stat_value: number
unit?: string | null
updated_at?: string | null
}
Update: {
category?: string | null
created_at?: string | null
description?: string | null
display_order?: number | null
id?: string
ride_id?: string
stat_name?: string
stat_value?: number
unit?: string | null
updated_at?: string | null
}
Relationships: [
{
foreignKeyName: "ride_coaster_stats_ride_id_fkey"
columns: ["ride_id"]
isOneToOne: false
referencedRelation: "rides"
referencedColumns: ["id"]
},
]
}
ride_model_submissions: {
Row: {
banner_image_id: string | null
@@ -2189,7 +2236,6 @@ export type Database = {
ride_model_id: string
slug: string
submission_id: string | null
technical_specs: Json | null
version_id: string
version_number: number
}
@@ -2206,7 +2252,6 @@ export type Database = {
ride_model_id: string
slug: string
submission_id?: string | null
technical_specs?: Json | null
version_id?: string
version_number: number
}
@@ -2223,7 +2268,6 @@ export type Database = {
ride_model_id?: string
slug?: string
submission_id?: string | null
technical_specs?: Json | null
version_id?: string
version_number?: number
}