-
|
I am trying to run my initial SQL script on an empty database but I am getting this error: The code I am using is: let pool = PgPool::connect(&db_url).await?;
migrate!("./sql").run(&pool).await?;The |
Beta Was this translation helpful? Give feedback.
Answered by
mehcode
Mar 10, 2021
Replies: 1 comment 3 replies
-
|
What does your |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
vbeffa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What does your
./sqldirectory look like? Migrations should be<VERSION>_<NAME>.sqlwith the version being an integer above 0.