mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 21:11:13 -05:00
Fix database migration
This commit is contained in:
@@ -112,7 +112,7 @@ export interface RideModel {
|
||||
category: 'roller_coaster' | 'flat_ride' | 'water_ride' | 'dark_ride' | 'kiddie_ride' | 'transportation';
|
||||
ride_type: string;
|
||||
description?: string;
|
||||
technical_specs?: any; // Legacy JSON field
|
||||
technical_specs?: any; // ⚠️ DEPRECATED - Use ride_model_technical_specifications table instead
|
||||
technical_specifications?: RideModelTechnicalSpec[]; // New relational data
|
||||
}
|
||||
|
||||
@@ -138,9 +138,9 @@ export interface Ride {
|
||||
max_height_meters?: number;
|
||||
length_meters?: number;
|
||||
inversions?: number;
|
||||
coaster_stats?: any; // Legacy JSON field
|
||||
technical_specs?: any; // Legacy JSON field
|
||||
former_names?: any; // Legacy JSON field
|
||||
coaster_stats?: any; // ⚠️ DEPRECATED - Use ride_coaster_statistics table instead
|
||||
technical_specs?: any; // ⚠️ DEPRECATED - Use ride_technical_specifications table instead
|
||||
former_names?: any; // ⚠️ DEPRECATED - Use ride_name_history table instead
|
||||
// New relational data
|
||||
technical_specifications?: RideTechnicalSpec[];
|
||||
coaster_statistics?: RideCoasterStat[];
|
||||
|
||||
Reference in New Issue
Block a user