Does the ORM Model have to define each column of the table? #4140
-
Do each column of the table need to be defined in the model?Laravel, no need。 |
Beta Was this translation helpful? Give feedback.
Answered by
RomainLanz
May 3, 2023
Replies: 1 comment 2 replies
-
Hey @cnzoujun! 👋🏻 GitHub Copilot will do it for you if you also have the migration or use a common term/name. And we know you don't need it with Laravel. That is a strong pain while using Laravel since you have no completion... 😉 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
cnzoujun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @cnzoujun! 👋🏻
GitHub Copilot will do it for you if you also have the migration or use a common term/name.
We don't have any tools for the moment to automatically adds column.
And we know you don't need it with Laravel. That is a strong pain while using Laravel since you have no completion... 😉