diff options
Diffstat (limited to 'db/migrate/20210120221743_delete_oauth_applications_tmp_index.rb')
-rw-r--r-- | db/migrate/20210120221743_delete_oauth_applications_tmp_index.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20210120221743_delete_oauth_applications_tmp_index.rb b/db/migrate/20210120221743_delete_oauth_applications_tmp_index.rb deleted file mode 100644 index d29e63ba5da..00000000000 --- a/db/migrate/20210120221743_delete_oauth_applications_tmp_index.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -class DeleteOauthApplicationsTmpIndex < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - INDEX_NAME = 'tmp_index_oauth_applications_on_id_where_trusted' - - disable_ddl_transaction! - - def up - remove_concurrent_index_by_name :oauth_applications, INDEX_NAME - end - - def down - add_concurrent_index :oauth_applications, :id, where: 'trusted = true', name: INDEX_NAME - end -end |