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: 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