Skip to content
Advertisement

Delete old migrations differences

How can I delete the old migrations differences? When doing doctrine:generate-migrations-diff I get no problems, but when doing the doctrine:migrate I get problems. It seems as if doctrine is trying to migrate old stuff that doesnt “count” any longer …

Thanks

Advertisement

Answer

Either delete the migration class or add the generate version table (can’t remember the exact name) and set the value to the migration you want start from.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement