Search code examples
pythondjangodjango-south

Can you migrate backwards to before the first migration in South?


Can you migrate an app backwards to before its first migration in Django South? If not, are there plans to add such functionality, perhaps using an option passed to migrate?


Solution

  • ./manage.py migrate myapp zero
    

    See: https://docs.djangoproject.com/en/1.9/ref/django-admin/#migrate

    In Django 1.11: https://docs.djangoproject.com/en/1.11/ref/django-admin/#migrate