DEV: Include foreign keys in model annotations

This commit is contained in:
David Taylor 2019-05-13 15:53:42 +01:00
parent 607c671003
commit 750c125707
2 changed files with 7 additions and 1 deletions

View File

@ -169,3 +169,8 @@ end
# index_user_profiles_on_card_background (card_background)
# index_user_profiles_on_profile_background (profile_background)
#
# Foreign Keys
#
# fk_rails_... (card_background_upload_id => uploads.id)
# fk_rails_... (profile_background_upload_id => uploads.id)
#

View File

@ -31,7 +31,8 @@ if (Rails.env.development? || Rails.env.test?)
'format_markdown' => "false",
'sort' => "false",
'force' => "false",
'trace' => "false"
'trace' => "false",
'show_foreign_keys' => "true"
)
end