-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve settings #203
Comments
@ale-rt, any thoughts about that? |
About renaming the table, if you want to do that, do that. It looks to me like you want to towards a per-account registry. My gut feeling is that a migration to the |
As explained in the ticket description we now have a setting that should hold a list of disabled messages. |
I do not understand this comment. What is its purpose? |
Now that we have two messages of the day (#202), it is a little awkward to query which of them is disabled. I have to pass in all the known values to the query:
I would rather do:
Furthermore, the new setting has nothing to do with the newsletter. I would argue that the old setting also isn't really about the newsletter but about the message of the day. How about instead of specific settings tables we use only one table (e.g. AccountSetting), but with an additional
type
column to allow specifying what the setting is about?Something like:
This would also allow migrating the newsletter subscriptions to the new table.
Note that this should probably live in Euphorie instead of osha.oira.
The text was updated successfully, but these errors were encountered: