cartodb-4.29/db/migrate/20131122114738_modify_automatic_geocodings.rb
2020-06-15 10:58:47 +08:00

14 lines
372 B
Ruby

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