cartodb-4.42/db/migrate/20131122114738_modify_automatic_geocodings.rb
2024-04-06 05:25:13 +00: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