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.
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.