mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 09:11:13 -05:00
Fix ride model technical specs
Implement plan to fix ride model technical specifications pipeline. This includes creating a new migration for the `ride_model_submission_technical_specifications` table, updating `entitySubmissionHelpers.ts` to handle insertion of technical specifications, and modifying the edge function `process-selective-approval/index.ts` to fetch these specifications. This ensures no data loss for ride model technical specifications.
This commit is contained in:
@@ -3413,6 +3413,47 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
ride_model_submission_technical_specifications: {
|
||||
Row: {
|
||||
category: string | null
|
||||
created_at: string | null
|
||||
display_order: number | null
|
||||
id: string
|
||||
ride_model_submission_id: string
|
||||
spec_name: string
|
||||
spec_unit: string | null
|
||||
spec_value: string
|
||||
}
|
||||
Insert: {
|
||||
category?: string | null
|
||||
created_at?: string | null
|
||||
display_order?: number | null
|
||||
id?: string
|
||||
ride_model_submission_id: string
|
||||
spec_name: string
|
||||
spec_unit?: string | null
|
||||
spec_value: string
|
||||
}
|
||||
Update: {
|
||||
category?: string | null
|
||||
created_at?: string | null
|
||||
display_order?: number | null
|
||||
id?: string
|
||||
ride_model_submission_id?: string
|
||||
spec_name?: string
|
||||
spec_unit?: string | null
|
||||
spec_value?: string
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "fk_ride_model_submission"
|
||||
columns: ["ride_model_submission_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "ride_model_submissions"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
ride_model_submissions: {
|
||||
Row: {
|
||||
banner_image_id: string | null
|
||||
|
||||
Reference in New Issue
Block a user