Reset "resolved migrations"? #1996
Unanswered
surfingreg
asked this question in
Q&A
Replies: 1 comment
-
I try below command can work drop table _sqlx_migrations; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I did an
sqlx migrate add create_dumb_table
. Then I changed my mind and manually deleted the .sql file it generated. Now when I runsqlx migrate run
I get "error: migration 20220726152059 was previously applied but is missing in the resolved migrations".How do I remove all memory of that migration? Where are migrations persisted if the migrations/*.sql file no longer exists?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions