return non-zero exit code when migrations fail and version bump