Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20160528043124_add_users_state_index.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3437b35a0c066e21b3c0ced9bef8444ebf272a7a (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
class AddUsersStateIndex < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  disable_ddl_transaction!

  def change
    add_concurrent_index :users, :state
  end
end