generate both entities and migration at the same time would be a useful cli function #2028
Ashhhhhh520
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
I think we can allow migration to be generated based on Entity classes. In that case, we would only need to design the entity classes and then generate and migrate the database based on the entity classes. At the same time, the corresponding migration files can be generated based on the changes to the entity classes. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I build a project in db first , I can generate entities with cli , but I can't generate the migration with db first, and then I have to export the db file and package into project folder, it would be useful that generate entities and migrations at the same time.
Beta Was this translation helpful? Give feedback.
All reactions