Answer the question
In order to leave comments, you need to log in
How to correctly implement separate migrations for structure and data in a web project in php?
I did not find an answer for my situation a little on the Internet, but it consists in the following:
Our project needs to use migrations for both the structure and the data. Migrations for data can take quite a long time, as they usually affect a large amount of elements. For this reason, there is a need to do something like this:
1) Separate writing of migrations for the structure and data
2) The execution of migrations for the structure occurs first, then the migrations for the data occur
The module must satisfy the following minimum:
1) A convenient interface for running migrations from the terminal
Tell me, maybe someone knows what package / module / library for such a case, so that everything works out of the box? Or maybe someone knows some thing that can be customized a little and will work as described?
Thanks in advance for your help =)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question