debian-mirror-gitlab/db/migrate/20160528043124_add_users_state_index.rb

11 lines
215 B
Ruby
Raw Normal View History

# rubocop:disable all
2019-02-15 15:39:39 +05:30
class AddUsersStateIndex < ActiveRecord::Migration[4.2]
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
def change
add_concurrent_index :users, :state
end
end