How to use sqlx::migrate! in a nested child? #4087
Unanswered
kumawatdarshan
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.
-
my workspace at root level: [migrations, crates]
the file where I am using migrate! is in crates/x/y/z/xyz.rs, in a similar scenario, I got away with
CARGO_WORKSPACE_DIRbut what can be done in sqlx case?doing
../../../../migrationsgives me error canonicalizing migration directory ..... no such file or directory.Beta Was this translation helpful? Give feedback.
All reactions