-
-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db migrate
success, but db upgrade
fail, what can i do next?
#444
Comments
Delete the bad migration file (the one that failed to upgrade), then you should be able to run |
so i should delete |
You should delete the migration file that fails to upgrade. Just that one file. It is going to be listed as the latest migration script in the history report. If you run |
run
What do I do in this case next?
i fix models file, but can’t migrate or upgrade again.
one way is delete all file, and db init again, but this is not what I want.
The text was updated successfully, but these errors were encountered: