Im trying to revert a migration by migrating to previous migration but i got this error:
django.db.utils.IntegrityError: column "field_name" contains null values
this problem occurs when a migrations.RemoveField
is in the migration which is reverted to. when the migration is reverting a field by null=False
is created.
How can i resolve the problem?