[Django]-Django South Skip Some Migration Files

3👍

You can’t have gaps in migrations as South assumes these are sequential. I would do:

  1. Migrate development back to 0006.
  2. Create a new migration 0007 that does what 0012 does and apply it to both development and production.
  3. Create new migration(s) for the original 0007 till 0011 changes and apply those to development (and production when ready).

In the future I’d recommend using branches and only merge those branches (including migrations) when you’re ready to have them on development and production.

Leave a comment