766060bcdf
This adds a Rubocop rule to enforce the use of add_concurrent_foreign_key instead of the regular add_foreign_key method. This cop has been disabled for existing migrations so we don't need to change those.
5 lines
239 B
Ruby
5 lines
239 B
Ruby
require_relative 'cop/gem_fetcher'
|
|
require_relative 'cop/migration/add_column'
|
|
require_relative 'cop/migration/add_column_with_default'
|
|
require_relative 'cop/migration/add_concurrent_foreign_key'
|
|
require_relative 'cop/migration/add_index'
|