10 lines
215 B
Ruby
10 lines
215 B
Ruby
# 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
|