cartodb-4.42/db/migrate/20130220145819_add_default_to_layers_updated_at.rb
2024-04-06 05:25:13 +00:00

9 lines
186 B
Ruby

class AddDefaultToLayersUpdatedAt < Sequel::Migration
def up
SequelRails.connection.run("ALTER TABLE layers ALTER COLUMN updated_at SET DEFAULT NOW()")
end
def down
end
end