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

9 lines
153 B
Ruby

Sequel.migration do
up do
SequelRails.connection.run("UPDATE layers SET updated_at = NOW() WHERE updated_at IS NULL")
end
down do
end
end