Fix Phase 3D migration errors

This commit is contained in:
gpt-engineer-app[bot]
2025-10-03 14:54:01 +00:00
parent b778fc95f6
commit 4493b0824e
2 changed files with 326 additions and 117 deletions

View File

@@ -1154,82 +1154,6 @@ export type Database = {
},
]
}
ride_coaster_stats: {
Row: {
category: string | null
created_at: string
id: string
ride_submission_id: string
stat_name: string
stat_value: number
unit: string | null
}
Insert: {
category?: string | null
created_at?: string
id?: string
ride_submission_id: string
stat_name: string
stat_value: number
unit?: string | null
}
Update: {
category?: string | null
created_at?: string
id?: string
ride_submission_id?: string
stat_name?: string
stat_value?: number
unit?: string | null
}
Relationships: [
{
foreignKeyName: "ride_coaster_stats_ride_submission_id_fkey"
columns: ["ride_submission_id"]
isOneToOne: false
referencedRelation: "ride_submissions"
referencedColumns: ["id"]
},
]
}
ride_former_names: {
Row: {
created_at: string
date_changed: string | null
former_name: string
id: string
order_index: number | null
reason: string | null
ride_submission_id: string
}
Insert: {
created_at?: string
date_changed?: string | null
former_name: string
id?: string
order_index?: number | null
reason?: string | null
ride_submission_id: string
}
Update: {
created_at?: string
date_changed?: string | null
former_name?: string
id?: string
order_index?: number | null
reason?: string | null
ride_submission_id?: string
}
Relationships: [
{
foreignKeyName: "ride_former_names_ride_submission_id_fkey"
columns: ["ride_submission_id"]
isOneToOne: false
referencedRelation: "ride_submissions"
referencedColumns: ["id"]
},
]
}
ride_model_submissions: {
Row: {
banner_image_id: string | null
@@ -1433,6 +1357,126 @@ export type Database = {
},
]
}
ride_submission_coaster_statistics: {
Row: {
category: string | null
created_at: string
id: string
ride_submission_id: string
stat_name: string
stat_value: number
unit: string | null
}
Insert: {
category?: string | null
created_at?: string
id?: string
ride_submission_id: string
stat_name: string
stat_value: number
unit?: string | null
}
Update: {
category?: string | null
created_at?: string
id?: string
ride_submission_id?: string
stat_name?: string
stat_value?: number
unit?: string | null
}
Relationships: [
{
foreignKeyName: "fk_ride_submission_coaster_statistics_ride_submission_id"
columns: ["ride_submission_id"]
isOneToOne: false
referencedRelation: "ride_submissions"
referencedColumns: ["id"]
},
]
}
ride_submission_name_history: {
Row: {
created_at: string
date_changed: string | null
former_name: string
id: string
order_index: number | null
reason: string | null
ride_submission_id: string
}
Insert: {
created_at?: string
date_changed?: string | null
former_name: string
id?: string
order_index?: number | null
reason?: string | null
ride_submission_id: string
}
Update: {
created_at?: string
date_changed?: string | null
former_name?: string
id?: string
order_index?: number | null
reason?: string | null
ride_submission_id?: string
}
Relationships: [
{
foreignKeyName: "fk_ride_submission_name_history_ride_submission_id"
columns: ["ride_submission_id"]
isOneToOne: false
referencedRelation: "ride_submissions"
referencedColumns: ["id"]
},
]
}
ride_submission_technical_specifications: {
Row: {
category: string | null
created_at: string
display_order: number | null
id: string
ride_submission_id: string
spec_name: string
spec_type: string
spec_value: string
unit: string | null
}
Insert: {
category?: string | null
created_at?: string
display_order?: number | null
id?: string
ride_submission_id: string
spec_name: string
spec_type: string
spec_value: string
unit?: string | null
}
Update: {
category?: string | null
created_at?: string
display_order?: number | null
id?: string
ride_submission_id?: string
spec_name?: string
spec_type?: string
spec_value?: string
unit?: string | null
}
Relationships: [
{
foreignKeyName: "fk_ride_submission_technical_specifications_ride_submission_id"
columns: ["ride_submission_id"]
isOneToOne: false
referencedRelation: "ride_submissions"
referencedColumns: ["id"]
},
]
}
ride_submissions: {
Row: {
age_requirement: number | null
@@ -1596,47 +1640,6 @@ export type Database = {
},
]
}
ride_technical_specs: {
Row: {
category: string | null
created_at: string
id: string
ride_submission_id: string
spec_name: string
spec_type: string
spec_value: string
unit: string | null
}
Insert: {
category?: string | null
created_at?: string
id?: string
ride_submission_id: string
spec_name: string
spec_type: string
spec_value: string
unit?: string | null
}
Update: {
category?: string | null
created_at?: string
id?: string
ride_submission_id?: string
spec_name?: string
spec_type?: string
spec_value?: string
unit?: string | null
}
Relationships: [
{
foreignKeyName: "ride_technical_specs_ride_submission_id_fkey"
columns: ["ride_submission_id"]
isOneToOne: false
referencedRelation: "ride_submissions"
referencedColumns: ["id"]
},
]
}
rides: {
Row: {
age_requirement: number | null