How to add a default field in a model and migration? #4159
Unanswered
rodrigocorreard
asked this question in
Help
Replies: 1 comment 1 reply
-
You would probably need to play with Also adding same fields to all models / migration will create an overhead and data would not be truthful as it has multiple "sources" so to speak. And if one source is updated all others need updating. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Is it possible to add a standard field in a model and a migration like createdAt, updatedAT in the construction command of these files? I need to add tenant field in all files generated by default. Thanks
Beta Was this translation helpful? Give feedback.
All reactions