Skip to content
Lucas Habersaat edited this page Aug 3, 2020 · 24 revisions

ERD

This is an entity relationship diagram based on the cryptopus' database and models:

ERD

Bachman notation

The Bachman notation is used in the ERD. Here's an example:

Update ERD

  1. Install rails-erd: install guide

(Important: rails-erd uses sextant, which is deprecated since Rails 5.1. To make it work, replace before_filter with before_action in /home/__user__/.rvm/gems/ruby-2.5.7/gems/sextant-0.2.4/app/controllers/sextant/routes_controller.rb

  1. Type following command in cryptopus-root directory: erd --notation=bachman --filetype=png

  2. Move the picture to the cryptopus.wiki/img folder

Clone this wiki locally