-
I'm trying to test my code with I have a migration script in place with 'my_table' and other tables defined with 'CREATE TABLE'. My other tests work well using other tables from the same migration script. I'm not sure what can be the reason for the problem and how can I debug it. sqlx = "0.8.3" UPD: A few details
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the source of the issue. My tests are located in different crates in a workspace and I forgot to put a symlink for migrations in the crate folder where my failing test is located. So while it seemed that migration script applies it did not apply for a particular test. |
Beta Was this translation helpful? Give feedback.
I found the source of the issue. My tests are located in different crates in a workspace and I forgot to put a symlink for migrations in the crate folder where my failing test is located.
So while it seemed that migration script applies it did not apply for a particular test.