You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an open discussion but adding many attribute/columns to enterprise model/table doesn't seems fine to me: adding columns to a so used table isn't good for performance.
That's why I propose to add model/table for white labeling configuration instead of having severable attributes.
I agree. A separate model for the configuration is the best solution.
sigmundpetersen
changed the title
WhiteLabel: Add configuration into a single model/table instead of having many columns
[White Label] Add configuration into a single model/table instead of having many columns
May 24, 2023
What we should change and why (this is tech debt)
This is an open discussion but adding many attribute/columns to enterprise model/table doesn't seems fine to me: adding columns to a so used table isn't good for performance.
That's why I propose to add model/table for white labeling configuration instead of having severable attributes.
Table name:
WhiteLableConfiguration
columns:
enterprise_id
: FK to enterprise.idhide_ofn_navigation, :boolean, null: false, default: false
Context
This came up when developing White labelling.
Impact and timeline
hide_ofn_navigation
is activated for the shop #10744 (or requires 10744 to be rebase onto this PR)The text was updated successfully, but these errors were encountered: