summaryrefslogtreecommitdiff
path: root/db/post_migrate/20230316014651_remove_index_on_events_action.rb
blob: 61a3077c330c5723dbfc1c2c96a3b13541a4b56a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class RemoveIndexOnEventsAction < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  def up
    remove_concurrent_index :events, :action, name: 'index_events_on_action'
  end

  def down
    add_concurrent_index :events, :action, name: 'index_events_on_action'
  end
end