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.92s
thread '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:43
note: 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.