cartodb-4.42/db/migrate/20130220145819_add_default_to_layers_updated_at.rb

9 lines
186 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
class AddDefaultToLayersUpdatedAt < Sequel::Migration
def up
SequelRails.connection.run("ALTER TABLE layers ALTER COLUMN updated_at SET DEFAULT NOW()")
end
def down
end
end