blob: 761cebfc88adcb0c30b73ad0d8f74bb49e72ab89 (
plain) (
blame)
1
2
3
4
5
6
|
class AddNetworkIndexToStatuses < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :statuses, :network, where: :network, algorithm: :concurrently
end
end
|