diff --git a/Migrating-from-MariaDB-(MySQL)-to-SQLite.md b/Migrating-from-MariaDB-(MySQL)-to-SQLite.md index 475354a..c8b5dd9 100644 --- a/Migrating-from-MariaDB-(MySQL)-to-SQLite.md +++ b/Migrating-from-MariaDB-(MySQL)-to-SQLite.md @@ -19,7 +19,7 @@ Well, that is possible, but there could be some quirks which we do not know of u Make sure you are using the same version of Vaultwarden (Docker or custom build) for both SQLite and MariaDB, don't update the Docker image in-between these steps. To migrate to SQLite we first need to have a SQLite database file which we can use to transfer the data to. For this file to be created you need to stop your current Vaultwarden instance, and configure it to use SQLite. -You can do this by changing your `DATABASE_URL` from `DATABASE_URL=mysql://:@mariadb/vaultwarden` to `DATABASE_URL=/data/db.sqlite3` for example. ( `/data` is the internal path within the Docker container of the `-v` volume you use). +You can do this by changing your `DATABASE_URL` from `DATABASE_URL=mysql://:@mariadb/vaultwarden` to `DATABASE_URL=sqlite:///data/db.sqlite3` for example. ( `/data` is the internal path within the Docker container of the `-v` volume you use). After you have changed the config, start Vaultwarden and it should show you that it executed a few migrations by checking the logs for lines which start with `Executing migration script ....`.