about summary refs log tree commit diff
path: root/db/migrate/20190509185038_add_network_index_to_statuses.rb
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