Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Migration means one change, one feature. It must be reversible and contain all data.
Therefore, the feature should be small, and the migration should include all tables that have changed
Symfony has nothing to do with it.
If within a specific task you need several tables, create them in one migration. Dividing into files for the sake of sharing is a very so-so idea.
If you need several different migration steps as part of the deployment, you should separate them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question