57

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?

CJ Gaconnet
  • 1,421
  • 1
  • 12
  • 18

1 Answers1

87
./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

hybor
  • 308
  • 4
  • 12
Chris Pratt
  • 232,153
  • 36
  • 385
  • 444
  • Oh my! Don't know how I missed that. I apparently also missed it in the usage line in `help migrate`. Thank you. – CJ Gaconnet Jun 23 '11 at 21:31