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
if they are related, then I think everything is needed in one migration,
I always do this - one task - one migration
Good morning.
It's like looking.
You can do this and that.
I would do in two migrations. But again, you have to look.
Let's say you are making a module for selecting countries and cities. In this case, it would be appropriate to do everything in one migration. If you make "articles" and "comments" modules separately, then in this case it is better to do them in separate migration files.
If you make two migrations, you will not be able to remove the previous migration without affecting the last one.
That's just how migrations work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question