frankfurter/db/migrate/007_add_provider_currency_indexes.rb

11 lines
306 B
Ruby
Raw Permalink Normal View History

2026-05-21 01:38:14 -06:00
# frozen_string_literal: true
# rubocop:disable Sequel/ConcurrentIndex
Sequel.migration do
change do
add_index :rates, [:provider, :quote], name: :rates_provider_quote_index
add_index :rates, [:provider, :base], name: :rates_provider_base_index
end
end
# rubocop:enable Sequel/ConcurrentIndex