If django version was upgraded to 3.2 from under 3.0.

u can see below warnings

Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
        HINT: Configure the DEFAULT_AUTO_FIELD setting or the AccountConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.

Because yours models do not have primary keys. But they are being created automatically by django. Starting with 3.2 new projects are generated with DEFAULT_AUTO_FIELD set to BigAutoField.

To avoid unwanted migrations in the future, either explicitly set DEFAULT_AUTO_FIELD to AutoField:

settings.py

DEFAULT_AUTO_FIELD = "django.db.models.AutoField"