Last active
March 24, 2019 10:58
-
-
Save dyanagi/bded3e6b66463ab6496b4255c5d9d840 to your computer and use it in GitHub Desktop.
Rails ERD Config Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
attributes: | |
# - primary_key | |
- foreign_key | |
- content | |
- inheritance | |
disconnected: true | |
filename: erd | |
filetype: pdf | |
indirect: true | |
inheritance: false | |
markup: true | |
notation: simple | |
# The result will be changed when adding orientation in both cases setting 'vertical' or 'horizontal' | |
#orientation: vertical | |
polymorphism: false | |
sort: true | |
warn: true | |
title: true | |
# When auto-generated on db:migration, some models are added and are better to exclude | |
exclude: | |
# - ApplicationRecord | |
- ActiveRecord::SchemaMigration | |
- ActiveRecord::InternalMetadata | |
only: null | |
only_recursion_depth: null | |
prepend_primary: false | |
cluster: false | |
splines: spline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment