summaryrefslogtreecommitdiff
path: root/db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb')
-rw-r--r--db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb b/db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb
index 17570269b2e..b59b941c815 100644
--- a/db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb
+++ b/db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb
@@ -11,6 +11,7 @@ class AddIndexesToProjectMirrorData < ActiveRecord::Migration
end
def down
+ # rubocop:disable Migration/RemoveIndex
remove_index :project_mirror_data, :jid if index_exists? :project_mirror_data, :jid
remove_index :project_mirror_data, :status if index_exists? :project_mirror_data, :status
end