Answer the question
In order to leave comments, you need to log in
Migrations Error django.db.utils.IntegrityError: NOT NULL constraint failed:?
The bottom line is that I needed to add a field, I did everything, migrated, everything is ok. But then I had to remove it. Migrated, created migration (remove). On subsequent migrations, I get an error related to the field I removed django.db.utils.IntegrityError: NOT NULL constraint failed: Since I'm new to django, I would like some clarification about the migration files, how can I fix the error?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question