对于 Django>=1.7,South 的 "schemamigration --update" 是什么?

What is the equivalent of South's "schemamigration --update" for Django>=1.7?

当我使用 South 进行开发时,我能够使用 schemamigration management command--update 标志来优化最新的迁移。

这对于迭代开发来说非常方便。对于 Django >=1.7 本机迁移是否有等效的 --update 标志?

根据 doumentation:

You are encouraged to make migrations freely and not worry about how many you have; the migration code is optimized to deal with hundreds at a time without much slowdown.

如果你真的想在开发过程中摆脱迁移,我认为你最好的选择是 squash 它们。