frankfurter/db/migrate/009_add_date_index.rb

12 lines
183 B
Ruby
Raw Permalink Normal View History

2026-05-21 01:38:14 -06:00
# frozen_string_literal: true
Sequel.migration do
up do
add_index :rates, :date, concurrently: true
end
down do
drop_index :rates, :date, concurrently: true
end
end