Migration version is always up when run SQL migrations fails. #757

Closed
minkbear opened this Issue Mar 21, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@minkbear

I looked into the code and met that $schema_version is always up but it doesn't case the result of execute sql migration when it's fail.

@sourcejedi

This comment has been minimized.

Show comment Hide comment
@sourcejedi

sourcejedi Mar 22, 2013

Contributor

@ghost ghost assigned sourcejedi Apr 10, 2013

sourcejedi added a commit that referenced this issue Apr 11, 2013

migrations controller migrate_to: fix one error message
Don't overwrite the error message if migrations fail!

The error case is probably still broken generally, see #757, but this part
is an obvious coding error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment