sokil/php-mongo-migrator

Migrate reset

marabesi opened this issue · 3 comments

Is there a way to reset all the migrations created in the database?

The readme says that is possible to rollback to a specific version, but what I wouldm like to do is to reset all the migrations and execute them again.

sokil commented

Rollback available only to specified or previous version. You can't rollback all migrations without specifying revision. Migration available to specified version or latest version.

Ok I got it, probably I should send a PR implementing this feature?

sokil commented

You should not, but you may )))