Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20180503193542_add_indexes_to_remote_mirror.rb b/db/migrate/20180503193542_add_indexes_to_remote_mirror.rb
deleted file mode 100644
index 19bed8d0500..00000000000
--- a/db/migrate/20180503193542_add_indexes_to_remote_mirror.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-class AddIndexesToRemoteMirror < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index :remote_mirrors, :last_successful_update_at unless index_exists?(:remote_mirrors, :last_successful_update_at)
- end
-
- def down
- # ee/db/migrate/20170208144550_add_index_to_mirrors_last_update_at_fields.rb will remove the index.
- # rubocop:disable Migration/RemoveIndex
- remove_index :remote_mirrors, :last_successful_update_at if index_exists? :remote_mirrors, :last_successful_update_at
- end
-end