Hi,
I've upgraded the project I'm working on (enterprise project that is deployed to production for a few years now), from version 3.0.8 to version 3.1. After upgrading I suddenly get an InconsistentMigrationHistory exception telling me that
"django.db.migrations.exceptions.InconsistentMigrationHistory: Migration common.0002_global_permissions is applied before its dependency auth.0012_alter_user_first_name_max_length on database 'default'."
I am using a custom user model. Its important to note though that these migrations are both more than a year old and have already been applied to the prod. database. I do not know where this error is coming form and I suspect its a bug. Any suggestions how to handle this?