Django Migration Problem Solution
* Delete table manually from DB
* Delete migration file in migrations folder
* User following example commands:
- python manage.py makemigrations
- python manage.py migrate --fake core 0038_auto_20211003_2229
- python manage.py migrate core 0039_customerbkashpayment
(Note: 0039_customerbkashpayment is the recently migration file. 'core' is app name. 0038_auto_20211003_2229 is the previous on issue migrated file.)
Comments
Post a Comment