blob: 17f936a00b866eceed6bd93d23a454b1db7ef69f (
plain) (
blame)
1
2
3
4
5
6
7
|
class AddIndexUnhiddenToStatuses < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :statuses, [:account_id, :id, :visibility], where: 'NOT hidden', algorithm: :concurrently, name: 'index_statuses_on_account_id_and_id_and_visibility_not_hidden'
end
end
|