Ticket #519 (closed enhancement: fixed)
convert_to_south command needs to allow "--ignore-ghost-migrations" as an option
|Reported by:||Eddie Bishop <eddie.bishop@…>||Owned by:||andrew|
When there is a ghost migration in the db, running convert_to_south on an unrelated app will only partially work. Specifically, the migration file gets created, but is not fake applied. This is because of a ghost migration exception.
To prevent this, "convert_to_south" can accept the "--ignore-ghost-migrations" option and, if specified, pass it to the underlying "migrate" command.
Right now (v 0.7.1), trying to specify the "--ignore-ghost-migrations" option to the convert_to_south command won't work.
In addition, other "migrate" commands like "--delete-ghost-migrations" should also be supported by convert_to_south.
See also #411 for sample output of trying to run convert_to_south on an app when a ghost migration was in the db.