9 lines
186 B
Ruby
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
|