feat(user-preferences): implement user preferences management with backend support
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.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- 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 $$;
|
||||
Reference in New Issue
Block a user