clarify to bootstrap the newly created database

Esemudeo
2025-11-10 20:44:17 +01:00
parent 9f44605fc2
commit 493654d6ce

@@ -37,8 +37,8 @@ CREATE USER vaultwarden WITH ENCRYPTED PASSWORD 'yourpassword';
```sql ```sql
CREATE DATABASE vaultwarden OWNER vaultwarden; CREATE DATABASE vaultwarden OWNER 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 a (new) vaultwarden instance to use the new database and start it, so diesel can run migrations and set up the schema properly. Do not do anything else.
4. Stop vaultwarden. 4. Stop your new vaultwarden instance.
5. install [pgloader](http://pgloader.io/) 5. install [pgloader](http://pgloader.io/)
6. [disable WAL](https://github.com/dani-garcia/vaultwarden/wiki/Running-without-WAL-enabled#1-disable-wal-on-old-db) of the SQLite database. 6. [disable WAL](https://github.com/dani-garcia/vaultwarden/wiki/Running-without-WAL-enabled#1-disable-wal-on-old-db) of the SQLite database.
7. create the file bitwarden.load with the following content: 7. create the file bitwarden.load with the following content: