cartodb-4.29/db/migrate/20131031175232_default_values_on_geocodings.rb

16 lines
307 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
Sequel.migration do
up do
alter_table :geocodings do
set_column_default :processed_rows, 0
set_column_default :total_rows, 0
end
end
down do
alter_table :geocodings do
set_column_default :processed_rows, nil
set_column_default :total_rows, nil
end
end
end