undo datamigration code example
Example: revert a migration django
python manage.py migrate <your-app> <migration number>
# eg
python manage.py migrate my_app 0001
python manage.py migrate <your-app> <migration number>
# eg
python manage.py migrate my_app 0001