diff options
Diffstat (limited to 'db/migrate/20200316162648_add_index_on_namespace_id_and_id_to_projects.rb')
-rw-r--r-- | db/migrate/20200316162648_add_index_on_namespace_id_and_id_to_projects.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20200316162648_add_index_on_namespace_id_and_id_to_projects.rb b/db/migrate/20200316162648_add_index_on_namespace_id_and_id_to_projects.rb deleted file mode 100644 index 96fbab1e2ea..00000000000 --- a/db/migrate/20200316162648_add_index_on_namespace_id_and_id_to_projects.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -class AddIndexOnNamespaceIdAndIdToProjects < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_concurrent_index :projects, [:namespace_id, :id] - remove_concurrent_index :projects, :namespace_id - end - - def down - add_concurrent_index :projects, :namespace_id - remove_concurrent_index :projects, [:namespace_id, :id] - end -end |