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

16 lines
307 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +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