Skip to content

Database Schema

Josh Holland edited this page Aug 20, 2019 · 1 revision

image of database schema

This image was generated with our fork of ERAlchemy. To regenerate it, do something like this from the root of the backend repository:

$ python3.7 -m venv venv
$ source venv/bin/activate
$ pip install -U pip setuptools
$ pip install -r requirements.base.txt
$ pip install git+https://github.com/wsi-cogs/eralchemy
$ ./generate-schema-diagram.sh schema.png

You will probably get slightly different results depending on your version of Graphviz; in particular, the rich formatting (bold, underlines) won't appear when using Graphviz installed via Homebrew on macOS.

Clone this wiki locally