debian-mirror-gitlab/db/migrate/20160528043124_add_users_state_index.rb
2016-06-16 23:09:34 +05:30

10 lines
210 B
Ruby

# rubocop:disable all
class AddUsersStateIndex < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
def change
add_concurrent_index :users, :state
end
end