-
Notifications
You must be signed in to change notification settings - Fork 0
Update the database
Salvatore Manfredi edited this page Sep 19, 2024
·
1 revision
Warning
All the updates described in this page are performed in-place, meaning that any unsaved state will be lost.
Important
Run the command pip3 install -r requirements.txt
to include the libraries required during the following steps.
To update the database schema you need to run the python3 schema_creator.py
command while being in the root folder. The script will read the .md
files and update the database schema accordingly.
To update the database content (after a schema change) you need to run the python3 database_filler.py
command while being in the root folder. This script will clear the database content, read the .md
files and
fill the database accordingly.