mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 22:31:13 -05:00
Fix ride submission data loss
Implement the plan to fix critical data loss in ride submissions. This includes: - Storing ride technical specifications, coaster statistics, and name history in submission tables. - Adding missing category-specific fields to the `ride_submissions` table via a new migration. - Updating submission helpers and the edge function to include these new fields. - Fixing the park location Zod schema to include `street_address`.
This commit is contained in:
@@ -41,6 +41,7 @@ export const parkValidationSchema = z.object({
|
||||
location_id: z.string().uuid().optional().nullable(),
|
||||
location: z.object({
|
||||
name: z.string(),
|
||||
street_address: z.string().optional().nullable(),
|
||||
city: z.string().optional().nullable(),
|
||||
state_province: z.string().optional().nullable(),
|
||||
country: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user