flarum / issue-archive

0 stars 0 forks source link

User preferences #173

Open luceos opened 3 years ago

luceos commented 3 years ago

Relates to flarum/framework#2082 and flarum/framework#1236.

Instead of saving user preferences into a dedicated column on the users table as json. Let's create a new table user_preferences which is able to store preferences for users while also storing the extension they belong to; or even auto prefixing them. The reason for flarum/framework#1236 was to simplify user notification handling, make querying more performant. A separate table for user preferences, not just notification settings, would be a good 0.2 feature.