Skip to content

Data model diagram (ERD)

David Cook edited this page Sep 26, 2022 · 1 revision

A visual representation of the model is available in the form of an ERD here:

The data model can also be inspected by viewing the database schema in db/schema.rb and the associated app/models/* files.

Generating the ERD

  1. Ensure your development environment is set up
  2. Install pre-requisites.

You can now use this script to re-generate the stored PDF file:

script/erd

Please commit the latest version, and include in a PR so that it can be kept up to date.

To generate a custom diagram, you can execute the rails-erd gem directly with custom options. Eg:

rake erd attributes=false filename=~/Desktop/erd-simple
Clone this wiki locally