cartodb-4.42/db/migrate/20131122105630_change_geocodings_association.rb

12 lines
305 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
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