mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
Rephrase db migration instruction (#1843)
This commit is contained in:
parent
3d29338d56
commit
d70953c071
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue