I have read: https://symfony.com/doc/master/bundles/DoctrineMigrationsBundle/index.html
I'm curious about: doctrine:migrations:rollup
. I know what it DOES (deletes my migrations, creates a single one with the whole dump of the current db).
But I don't understand how to use it in production:
When I rollup in local dev, push this into my CD-Pipeline, it would fail on production right? Because the dump would be executed above the already made migrations.
Do I have to delete all migration versions manually and just mark the "rolled up"-dump-migration as done in production?
I found this:
https://github.com/doctrine/migrations/issues/662
The whole process is several steps: