Skip to content

Data Model

Ryan Wold edited this page Nov 1, 2019 · 10 revisions

Below is a visual representation of db/schema.rb.

The diagram was generated with rails-erd

How can I update this diagram?

After making any changes to db/schema.rb, run erd to create erd.pdf. Convert that erd.pdf to .png (using OSX Preview). Then update assets/erd.png ✅

How can I install rails-erd?

rails-erd requires Graphviz. On Mac OSX, Install graphviz using brew install graphviz. Run gem install rails-erd to install rails-erd.

Clone this wiki locally