jdavisclark / mite

schema migrations so easy you already know how to write them. guaranteed.
http://jdc0589.github.io/mite
11 stars 6 forks source link

`mite resolve` #26

Open jdavisclark opened 10 years ago

jdavisclark commented 10 years ago

There will inevitable be instances, hopefully just in dev environments, when the mite status is dirty, but you don't want to step down to the bottom and then back up for some reason.

mite resolve would "fix" any dirty migrations by updating the migration hash in the database to match what's on disk. This could get nasty if you abuse it, so there definitely needs to be a confirmation prompts/flags.