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?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMSKmHZhyHeM4mXTWtLMyhDo63QdhLLEc4n1QKdV8B1i6_fBDA%40mail.gmail.com.

Reply via email to