Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django south: Re-run first migration

I made a mistake in the model declaration of an app and now need to re-run the initial migration.

Is there another way than deleting tables of this app and the entry in the migration history of south?

My setup:

Django 1.3.1

South 0.7.3

like image 616
Martin Avatar asked May 10 '12 08:05

Martin


1 Answers

./manage.py migrate myapp zero

Docs

like image 100
DrTyrsa Avatar answered Sep 20 '22 20:09

DrTyrsa