diesel
diesel copied to clipboard
More verbose errors on diesel migrations?
Right now the error messages aren't very verbose with PostgreSQL when a migration fails, e.g.:
Failed with: syntax error at or near "."
It would be helpful to also display line/column position of the error in the file.
It would be nice to have better error messages for migrations, but this is not something where I'm personally interested to invest much time. So don't expect much development from my side here. If someone has a nice idea here please open a PR.
Hey, @weiznich is this something you are still looking at?
@1nF0rmed Yes that's something we would be interested in getting it fixed. If your are interested https://github.com/diesel-rs/diesel/discussions/2907 contains more details about a potential fix.