django create empty migration
./manage.py makemigrations <app-name> --empty
./manage.py makemigrations --empty
django create empty migration
./manage.py makemigrations <app-name> --empty
./manage.py makemigrations --empty
how to undo makemigrations django
# The migration you want to undo is 0011_last_migration
# The migration right before it is 0010_previous_migration
python manage.py migrate my_app 0010_previous_migration
# Then you could delete the migration that you don't need (0011_last_migration) in the migration folder
# list all migration names like this
python manage.py showmigrations my_app
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