summaryrefslogtreecommitdiff
path: root/db/migrate/20190603124955_add_index_to_count_pending_mirror_updates.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190603124955_add_index_to_count_pending_mirror_updates.rb')
-rw-r--r--db/migrate/20190603124955_add_index_to_count_pending_mirror_updates.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20190603124955_add_index_to_count_pending_mirror_updates.rb b/db/migrate/20190603124955_add_index_to_count_pending_mirror_updates.rb
deleted file mode 100644
index 6aa94f7b20b..00000000000
--- a/db/migrate/20190603124955_add_index_to_count_pending_mirror_updates.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToCountPendingMirrorUpdates < ActiveRecord::Migration[5.1]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index :project_mirror_data, [:last_update_at, :retry_count]
- end
-
- def down
- remove_concurrent_index :project_mirror_data, [:last_update_at, :retry_count]
- end
-end