Skip to content

Unknown DB scheme: postgresql #2147

@mhaass-tomorrowthings

Description

@mhaass-tomorrowthings

Is there a reason tortoise does not accept postgresql for it's DB scheme?
pydantic's PostgresDsn e.g. accepts both, postgres:// and postgresql://

postgresql specifies both: https://www.postgresql.org/docs/current/libpq-connect.html

/tortoise/backends/base/config_generator.py:129 creates the alias for postgres, could we add another alias for postgresql?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions