Closed kfatehi closed 11 months ago
The "database exists" is not checked by existence of the database, but by reading from kvmeta
table, which does not exist. Then the adapter tries to drop and recreate the database but fails to do so because it does not have the permission.
The
init-db
command does not use the database that is defined for it in the config. It attempts to use thepostgres
database instead of the one defined.Repro
Config:
Postgres Log:
The database exists, I already created it, so why is it trying to create it again instead of just running migrations?
I thought maybe just run upgrade?
Same issue.