Answer the question
In order to leave comments, you need to log in
How would you implement migrations for several independent pieces of projects working from the same database?
There is one project, broken into independent modules in bare PHP. One part accepts hooks, the other works with their data. Projects are in different turnips on the gita. Now I thought about transferring changes in the database to migrations. But in which project should I place the migration data? Indeed, in the future there will be n more projects that independently work with the same database. The only thing that came to mind was to create another rap that will store only migrations.
Share your experience in solving similar problems.
ps chose this lib https://github.com/okvpn/migration-bundle
If worked, you can comment
Answer the question
In order to leave comments, you need to log in
Perhaps it is worth separating the part that works with the database into a separate service?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question