Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

FR: Automatic retrying dirty migrations after fail #331

Open
lukashes opened this issue Jan 30, 2018 · 0 comments
Open

FR: Automatic retrying dirty migrations after fail #331

lukashes opened this issue Jan 30, 2018 · 0 comments

Comments

@lukashes
Copy link

lukashes commented Jan 30, 2018

If I have broken migration, I get the error:

error: migration failed in line 0:...

I fixed problem and start migrations again:

error: Dirty database version 169. Fix and force version.

For manual migrations no problems, because I can use force 168 command and start it again.

But for automatic deployment systems it is uncomfortable following to the dirty migrations. The simplest way to try migration again. What do you think about this feature as adding new option migrate up --ignore-dirty?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant