mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-15 14:33:09 +01:00
With Postgres15, you need to set vaultwarden as an admin of the database for the migration to proceed
parent
67f85acaa1
commit
47106651e8
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,7 @@ CREATE DATABASE vaultwarden;
|
||||||
2. Create a new database user and grant rights to database:
|
2. Create a new database user and grant rights to database:
|
||||||
```sql
|
```sql
|
||||||
CREATE USER vaultwarden WITH ENCRYPTED PASSWORD 'yourpassword';
|
CREATE USER vaultwarden WITH ENCRYPTED PASSWORD 'yourpassword';
|
||||||
|
GRANT ALL ON DATABASE vaultwarden TO vaultwarden;
|
||||||
GRANT all privileges ON database vaultwarden TO vaultwarden;
|
GRANT all privileges ON database vaultwarden TO vaultwarden;
|
||||||
```
|
```
|
||||||
3. Configure vaultwarden and start it, so diesel can run migrations and set up the schema properly. Do not do anything else.
|
3. Configure vaultwarden and start it, so diesel can run migrations and set up the schema properly. Do not do anything else.
|
||||||
|
@ -67,6 +68,7 @@ CREATE DATABASE vaultwarden;
|
||||||
2. Create a new database user and grant rights to database:
|
2. Create a new database user and grant rights to database:
|
||||||
```sql
|
```sql
|
||||||
CREATE USER vaultwarden WITH ENCRYPTED PASSWORD 'yourpassword';
|
CREATE USER vaultwarden WITH ENCRYPTED PASSWORD 'yourpassword';
|
||||||
|
GRANT ALL ON DATABASE vaultwarden TO vaultwarden;
|
||||||
GRANT all privileges ON database vaultwarden TO vaultwarden;
|
GRANT all privileges ON database vaultwarden TO vaultwarden;
|
||||||
```
|
```
|
||||||
3. Configure vaultwarden and start it, so diesel can run migrations and set up the schema properly. Do not do anything else.
|
3. Configure vaultwarden and start it, so diesel can run migrations and set up the schema properly. Do not do anything else.
|
||||||
|
|
Loading…
Reference in a new issue