68ac7fb973
Added functionality for managing user preferences, including the ability to update preferences via a new API endpoint. The preferences are now stored server-side, allowing for synchronization across devices. Updated relevant components to handle user preferences, including the UserMenu and settings views. Enhanced internationalization support for error messages related to preference updates.
9 lines
354 B
SQL
9 lines
354 B
SQL
-- Rollback: drop users.preferences (data loss is acceptable; it only
|
|
-- carries UI preferences, not anything users can't reset by clicking).
|
|
|
|
DO $$ BEGIN RAISE NOTICE '[Migration 000049 DOWN] Dropping users.preferences...'; END $$;
|
|
|
|
ALTER TABLE users DROP COLUMN IF EXISTS preferences;
|
|
|
|
DO $$ BEGIN RAISE NOTICE '[Migration 000049 DOWN] Done.'; END $$;
|