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