summaryrefslogtreecommitdiff
path: root/db/migrate/20180503193542_add_indexes_to_remote_mirror.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20180503193542_add_indexes_to_remote_mirror.rb')
-rw-r--r--db/migrate/20180503193542_add_indexes_to_remote_mirror.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20180503193542_add_indexes_to_remote_mirror.rb b/db/migrate/20180503193542_add_indexes_to_remote_mirror.rb
index 9a9decffdab..4af42b4fb29 100644
--- a/db/migrate/20180503193542_add_indexes_to_remote_mirror.rb
+++ b/db/migrate/20180503193542_add_indexes_to_remote_mirror.rb
@@ -10,6 +10,7 @@ class AddIndexesToRemoteMirror < ActiveRecord::Migration
end
def down
+ # rubocop:disable Migration/RemoveIndex
remove_index :remote_mirrors, :last_successful_update_at if index_exists? :remote_mirrors, :last_successful_update_at
end
end