Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

reverse a django migration

# You need to identify the last migration to which you want
# to reverse and use it as the migration target

python manage.py migrate my_app_name target_migration
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #reverse #django #migration
ADD COMMENT
Topic
Name
4+6 =