Skip to content

postgresql:// is inferred as mysql. #18

@Blankeos

Description

@Blankeos

I think there are two valid URLs for postgres:

  • postgres://
  • postgresql://

This lib currently only supports postgres://

It fails on postgresql:// and says:

thread 'main' panicked at /Users/carlo/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sql-gen-0.2.3/src/main.rs:126:18:
Failed to connect to mysql container: PoolTimedOut
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions