django revert initial migrations

Revert Initial Migrations in Django Model

In case, you want to revert your initial migrations. You can use the following command.

$ python manage.py <your app> zero

Reference: https://docs.djangoproject.com/en/dev/ref/django-admin/#migrate

Advertisements