Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

revert a migration django

python manage.py migrate <your-app> <migration number>
# eg
python manage.py migrate my_app 0001
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #revert #migration #django
ADD COMMENT
Topic
Name
1+5 =