There is a dependency line at the beginning of every migration which requires an earlier migration to have been executed.
If you name your migration files alphanumerically in the sequence you want them to run AND the dependencies all line up AND the django_migrations table does not indicate your migrations have already been run AND the database migrations actually have not happened OR are idempotent, everything should run smoothly.
Mike
--
(Unsigned mail from my phone)