Django: How to migrate primary key to BigIntegerField of class that inherits from AbstractUser
问题 I have a Django project that has numerous applications. Each application has a models.py file. I'm using this strategy to modify all the models in my project such that their primary keys are explicitly defined as id = models.BigIntegerField(primary_key=True) instead of implicitly defined as id = models.IntegerField(primary_key=True) This strategy is working well for most of my models. Except there is a problem with one model. It is my Profile model defined below: class Profile(CachingMixin,