Skip to content
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

Use key/value pairs to store the data in the table Sites #858

Open
daronco opened this issue May 16, 2016 · 0 comments
Open

Use key/value pairs to store the data in the table Sites #858

daronco opened this issue May 16, 2016 · 0 comments

Comments

@daronco
Copy link
Member

daronco commented May 16, 2016

Instead of storing every option in its own column in the table Sites, they could be stored in more generic key/value pairs. That would make the database more flexible when adding/removing options.

Other considerations:

  • For translations, keys could be mapped to strings in the locales.
  • Raise warnings or exceptions when a key that doesn't exist is accessed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant