revert a migration django
python manage.py migrate <your-app> <migration number>
# eg
python manage.py migrate my_app 0001
revert a migration django
python manage.py migrate <your-app> <migration number>
# eg
python manage.py migrate my_app 0001
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us