You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already had a code base with handwritten (up and down) migrations. I changed my Rust struct and annotated it properly. For some reason I get the following error:
$ sqlx migrate generate Finished dev [unoptimized + debuginfo] target(s) in 16.92sthread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("expected value", line: 1, column: 33)', /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-models-cli-0.1.1/src/generate.rs:74:43note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I tried to reproduce it inside a clean environment but that failed. In a new, clean project everything works fine. Sadly I can't link you the code.
The text was updated successfully, but these errors were encountered:
I already had a code base with handwritten (up and down) migrations. I changed my Rust struct and annotated it properly. For some reason I get the following error:
I tried to reproduce it inside a clean environment but that failed. In a new, clean project everything works fine. Sadly I can't link you the code.
The text was updated successfully, but these errors were encountered: