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

  disable_ddl_transaction!

  def change
    add_concurrent_index :users, :state
  end
end