Check if the database need a migration without triggering it #3955
Unanswered
RustyNova016
asked this question in
Q&A
Replies: 0 comments
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.
-
I want to automatically backup my database before any migrations are run. Is there a easy way to do something like
if sqlx::migrate!("db/migrations").need_migration(conn).await?
?Beta Was this translation helpful? Give feedback.
All reactions