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

12 lines
305 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +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