I have a model with the following fields
class UserProfile(models.Model):
user = models.OneToOneField(User, unique=True, db_index=True,
related_name='profile')
Email = models.EmailField(max_length=255, db_index=True, null=True)
name = models.CharField(blank=True, max_length=255, db_index=True)
class Meta(object):
db_table = "auth_userprofile"
in my Users panel inside the Django Adminsitration i have multiple users, when i try to acces one of them i get this following error
(1054, "Unknown column 'auth_userprofile.user_id' in 'field list'")
should i drop the table to fix this issue or there is another solution for this