diff options
-rw-r--r-- | rubocop/cop/migration/add_column.rb | 2 | ||||
-rw-r--r-- | rubocop/cop/migration/add_index.rb | 2 | ||||
-rw-r--r-- | rubocop/rubocop.rb | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/rubocop/cop/migration/add_column.rb b/rubocop/cop/migration/add_column.rb index d5c8eeeea1f..1490fcdd814 100644 --- a/rubocop/cop/migration/add_column.rb +++ b/rubocop/cop/migration/add_column.rb @@ -1,3 +1,5 @@ +require_relative '../../migration_helpers' + module RuboCop module Cop module Migration diff --git a/rubocop/cop/migration/add_index.rb b/rubocop/cop/migration/add_index.rb index 506af97866f..5e6766f6994 100644 --- a/rubocop/cop/migration/add_index.rb +++ b/rubocop/cop/migration/add_index.rb @@ -1,3 +1,5 @@ +require_relative '../../migration_helpers' + module RuboCop module Cop module Migration diff --git a/rubocop/rubocop.rb b/rubocop/rubocop.rb index 3c596bff7ea..3e292a4527c 100644 --- a/rubocop/rubocop.rb +++ b/rubocop/rubocop.rb @@ -1,4 +1,3 @@ -require_relative 'migration_helpers' require_relative 'cop/migration/add_index' require_relative 'cop/migration/add_column' require_relative 'cop/migration/add_column_with_default' |