提交 5d93900d 编写于 作者: A Aaron Patterson

add and remove timestamps can be inverted

上级 24b637a8
...@@ -48,6 +48,14 @@ def invert_add_index(args) ...@@ -48,6 +48,14 @@ def invert_add_index(args)
table, columns, _ = *args table, columns, _ = *args
[:remove_index, [table, {:column => columns}]] [:remove_index, [table, {:column => columns}]]
end end
def invert_remove_timestamps(args)
[:add_timestamps, args]
end
def invert_add_timestamps(args)
[:remove_timestamps, args]
end
end end
end end
end end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册