Files
ubicloud/migrate/20250320_add_vm_pool_id_index.rb
Daniel Farina 28dacb968b Add vm pool_id index
A quick look at pg_stat_statements shows this can be a slow one
without an index on this field.
2025-03-20 14:53:53 -07:00

10 lines
141 B
Ruby

# frozen_string_literal: true
Sequel.migration do
no_transaction
change do
add_index :vm, [:pool_id], concurrently: true
end
end