schema_auto_foreign_keys 1.0.0
In an ActiveRecord migration, set the default to create a foreign key and index for all columns that define relatoins.
Gemfile:
=
install:
=
Runtime Dependencies (2):
schema_plus_foreign_keys
~> 1.0.0
schema_plus_indexes
~> 1.0.0