mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 13:54:48 +08:00
DEV: Include foreign keys in model annotations
This commit is contained in:
@ -169,3 +169,8 @@ end
|
|||||||
# index_user_profiles_on_card_background (card_background)
|
# index_user_profiles_on_card_background (card_background)
|
||||||
# index_user_profiles_on_profile_background (profile_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)
|
||||||
|
#
|
||||||
|
@ -31,7 +31,8 @@ if (Rails.env.development? || Rails.env.test?)
|
|||||||
'format_markdown' => "false",
|
'format_markdown' => "false",
|
||||||
'sort' => "false",
|
'sort' => "false",
|
||||||
'force' => "false",
|
'force' => "false",
|
||||||
'trace' => "false"
|
'trace' => "false",
|
||||||
|
'show_foreign_keys' => "true"
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user