Answers for "django runs migrations fine but fails to migrate"

6

how to create migrations in django

//to create migration files
python manage.py makemigrations

//to migrate migration files
python manage.py migrate
Posted by: Guest on November-03-2020
0

django not migrating

In Database delete row 'profiles' from the table 'django_migrations'.
Delete all migration files in migrations folder.
Try again python manage.py makemigrations and python manage.py migrate command.
Posted by: Guest on December-19-2020

Code answers related to "django runs migrations fine but fails to migrate"

Python Answers by Framework

Browse Popular Code Answers by Language