Reputation: 123
I can I make a doctrine migration re-run in the server without having to access it through SSH to erase the migration on the DB?
If I change the name of the migration file will it work?
Upvotes: 3
Views: 2283
Reputation: 2837
There does not appear to be a way to do this according to the Doctrine documentation. But yes, one way to do this would be to re-name the migration file, though that will result in a warning (which you can ignore) that there are migrations for which no class exists.
Upvotes: 2