Skip to content

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.

Update the schema

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.

Update the content

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.

Clone this wiki locally