cartodb-4.42/db/migrate/20131122105630_change_geocodings_association.rb
2024-04-06 05:25:13 +00:00

12 lines
305 B
Ruby

Sequel.migration do
up do
drop_column :automatic_geocodings, :original_geocoding_id
add_column :geocodings, :automatic_geocoding_id, :integer
end
down do
drop_column :geocodings, :automatic_geocoding_id
add_column :automatic_geocodings, :original_geocoding_id, :integer
end
end