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:
=
Installeer:
=
Runtime afhankelijkheden (2):
schema_plus_foreign_keys
~> 1.0.0
schema_plus_indexes
~> 1.0.0