summaryrefslogtreecommitdiff
path: root/db/migrate/20200623000148_remove_index_lfs_objects_file_store_is_null.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-18 13:16:36 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-18 13:16:36 +0000
commit311b0269b4eb9839fa63f80c8d7a58f32b8138a0 (patch)
tree07e7870bca8aed6d61fdcc810731c50d2c40af47 /db/migrate/20200623000148_remove_index_lfs_objects_file_store_is_null.rb
parent27909cef6c4170ed9205afa7426b8d3de47cbb0c (diff)
downloadgitlab-ce-311b0269b4eb9839fa63f80c8d7a58f32b8138a0.tar.gz
Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42
Diffstat (limited to 'db/migrate/20200623000148_remove_index_lfs_objects_file_store_is_null.rb')
-rw-r--r--db/migrate/20200623000148_remove_index_lfs_objects_file_store_is_null.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20200623000148_remove_index_lfs_objects_file_store_is_null.rb b/db/migrate/20200623000148_remove_index_lfs_objects_file_store_is_null.rb
deleted file mode 100644
index 76faa5c4cd2..00000000000
--- a/db/migrate/20200623000148_remove_index_lfs_objects_file_store_is_null.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveIndexLfsObjectsFileStoreIsNull < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
- INDEX_NAME = 'index_lfs_objects_file_store_is_null'
-
- disable_ddl_transaction!
-
- def up
- remove_concurrent_index_by_name(:lfs_objects, INDEX_NAME)
- end
-
- def down
- add_concurrent_index(:lfs_objects, :id, where: "file_store IS NULL", name: INDEX_NAME)
- end
-end