# Database schema To view this diagram live in vscode use the `https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid` extension. You can also edit live with `https://mermaid.live` This diagram should be updated manually when there are changes to the database schema. To generate the diagram directly use the following command, in the root directory: ```bash docker run --rm -u $(id -u):$(id -g) -v $(pwd)/database:/data minlag/mermaid-cli:latest -i /data/diagram.mmd -o /data/diagram.png -w 2000 -H 2000 ```