-
|
Hello, I am trying to migrate vaultwardens backend from sqlite to pgsql prior a major change im doing. However I cannot do that as I get an error while running the so called bitwarden.load from the guide how to migrate from sqlite to pgsql |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
Someone recently changed the grant rights for postgres 15+ |
Beta Was this translation helpful? Give feedback.
The order of commands is off. First create the
vaultwardenuser, then create the db. Create the database as follows:Postgres has changed how the public schema is handled (in version 15 or 16). Unfortunately schema handling in poatgres was always a bit strange. If you connect with a user to postgres and create a table without a schema, this table is automatically put into the public schema. e.g. I would have expected that such a table is created under the schema of the user (same name as the user). Well, not so in Postgres.
Anyway I believe I had a similar issue with another server app and the above fixed my problem back then. Maybe i…