mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 07:11:12 -05:00
6 lines
460 B
SQL
6 lines
460 B
SQL
-- Add unit preferences to user preferences table
|
|
ALTER TABLE public.user_preferences
|
|
ADD COLUMN unit_preferences JSONB NOT NULL DEFAULT '{"measurement_system": "metric", "temperature": "celsius", "auto_detect": true}'::jsonb;
|
|
|
|
-- Add comment for documentation
|
|
COMMENT ON COLUMN public.user_preferences.unit_preferences IS 'User preferences for measurement units: measurement_system (metric/imperial), temperature (celsius/fahrenheit), auto_detect (boolean)'; |