mentdotio / ment.io

Get free mentoring and offer to mentor subjects you care about
https://ment.io
MIT License
2 stars 1 forks source link

Resolve issues around 'db in dirty state' #3

Closed newswim closed 7 years ago

newswim commented 7 years ago

Running more than one migration with mattes/migrate is currently returning this error, 'Dirty database version N. Fix and force version.`

I had to manually clear the data and re-run the migrations (eg. up 2)... not exactly workable in production. We might want to move away from this library, or diagnose and document the error and workaround.