summaryrefslogtreecommitdiff
path: root/db/migrate/20160528043124_add_users_state_index.rb
blob: 6419d2ae71d820eb98f9a412b66759cd56f685da (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
class AddUsersStateIndex < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  disable_ddl_transaction!

  def change
    add_concurrent_index :users, :state
  end
end