-
Bug DescriptionI have the below line in main.rs Minimal Reproduction
Info
|
Beta Was this translation helpful? Give feedback.
Answered by
abonander
Mar 24, 2023
Replies: 1 comment
-
You need to call |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
abonander
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to call
.run(&mut some_connection).await()?
on the result ofsqlx::migrate!()
to actually execute migrations, see the docs: https://docs.rs/sqlx/latest/sqlx/macro.migrate.html