Rephrase db migration instruction (#1843)

This commit is contained in:
Jonathan Zernik 2021-12-11 09:13:43 -08:00 committed by GitHub
parent 3d29338d56
commit d70953c071
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ Alembic is used for database migrations.
To change any database model, follow these steps.
- Make sure that you have an up-to-date squeaknode with a sqlite database.
- Make sure that squeaknode on your local machine is running with the most up-to-date database migration.
- Make a note of the path to the ".db" sqlite database file. (Usually `~/.sqk/data/testnet/data.db` by default). If this is an initial migration, then create an empty file at this location.
- Make the changes to database models in `squeaknode/db/models.py`
- Update the `alembic.ini` file to point to the sqlite file from before: