cartodb-4.42/db/migrate/20131122114738_modify_automatic_geocodings.rb

14 lines
372 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
Sequel.migration do
up do
drop_column :automatic_geocodings, :run_at
drop_column :automatic_geocodings, :interval
add_column :automatic_geocodings, :ran_at, DateTime
end
down do
add_column :automatic_geocodings, :run_at, DateTime
add_column :automatic_geocodings, :interval, :integer
drop_column :automatic_geocodings, :ran_at
end
end