mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 20:11:12 -05:00
Fix database schema
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user