Skip to content

ensureDatabase fails on certain conditions #3713

@ml1nk

Description

@ml1nk

Describe the bug

ensureDatabase fails if

  • user with the name :myuser is used
  • there is no database with the name :myuser
  • dbName is :mydatabase and is not existing
  • postgresql is used

Bug was introduced by b1a867d

DriverException: database ":myuser" does not exist

Versions

Dependency Version
mikro-orm 5.5.2
pg 8.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions