Add support for feature-gating in table!
#4922
LucaCappelletti94
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Backend
PostgreSQL, MySQL, SQLite, Others
What do you want to add to diesel?
On occasion, different versions of a schema have different columns. At this time, the
table!macro does not support feature-gating columns, and this makes it necessary to gate the entiretable!macro. In some settings, like for thepostgresschema, several columns are introduced at different versions, forcing the creation of a large number of nearly identicaltable!macro calls.Implementation notes
It would be simpler if the following was supported:
Additional details
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions