提交 4d4db4c8 编写于 作者: O oz 提交者: eileencodes

Use selected_migrations if block_given?

This slipped in as part of a2827ec9.
上级 93d7b075
......@@ -1043,7 +1043,7 @@ def down(target_version = nil)
migrations
end
Migrator.new(:down, migrations, target_version).migrate
Migrator.new(:down, selected_migrations, target_version).migrate
end
def run(direction, target_version)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册