I am looking for a way to auto generate migrations by comparing dev to a staging environment. These migrations will then be applied automatically when pushed to staging environment
Doctrine has a nice migration module but for the life of me cannot figure it out. Seems it uses the entities to build the migrartions which in my case own't work -- as I am only using the DBAL at this time.
I suppose I will look for a lower-lvele tool to analyze two database and generate me the raw SQL to migrarte up or down -- any suggestions?
You should probably talk a look at this awesome list: https://github.com/ziadoz/awesome-php#migrations