mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 03:31:13 -05:00
Add unit preferences to user settings
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
-- 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)';
|
||||
Reference in New Issue
Block a user