frankfurter/db/migrate/006_rename_provider_url.rb

18 lines
299 B
Ruby
Raw Permalink Normal View History

2026-05-21 01:38:14 -06:00
# frozen_string_literal: true
Sequel.migration do
up do
alter_table :providers do
rename_column :url, :data_url
add_column :terms_url, String
end
end
down do
alter_table :providers do
drop_column :terms_url
rename_column :data_url, :url
end
end
end