I ran makemigrations against my legacy, MySQL database and it created models.py file for me, I copied the file to my applications package directory and ran makemigrations again after adding a table to extend the default users table. Now makemigrations is throwing following errors . I created a fresh django project which had no reference to older versions.
SystemCheckError: System check identified some issues: ERRORS: djangogettrix.AuthGroupPermissions: (models.E012) 'unique_together' refers to the non-existent field 'group_id'. djangogettrix.AuthGroupPermissions: (models.E012) 'unique_together' refers to the non-existent field 'permission_id'. djangogettrix.AuthPermission: (models.E012) 'unique_together' refers to the non-existent field 'content_type_id'. djangogettrix.AuthUserGroups: (models.E012) 'unique_together' refers to the non-existent field 'group_id'. djangogettrix.AuthUserGroups: (models.E012) 'unique_together' refers to the non-existent field 'user_id'. djangogettrix.AuthUserUserPermissions: (models.E012) 'unique_together' refers to the non-existent field 'permission_id'. djangogettrix.AuthUserUserPermissions: (models.E012) 'unique_together' refers to the non-existent field 'user_id'. djangogettrix.RolesUsers: (models.E012) 'unique_together' refers to the non-existent field 'role_id'. djangogettrix.RolesUsers: (models.E012) 'unique_together' refers to the non-existent field 'user_id'. Kindly help me by throwing some light on 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 post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f69f98af-d51a-4e4c-868b-b57fdc639a3a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.