Update guidelines to add a new application setting
What does this MR do and why?
To add a new rate limit or an application setting we should use a JSONB column to store the new setting. It has the following advantages:
- Prevents the
application_settings
from getting wider. Postgres has a limit of 1600 columns. - We can continue using the rails validations.
- Store different data types.
- Adding a new setting to an existing column won't a review from the database team.
Related discussions
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #205669