Guest User

Untitled

a guest
Jun 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. class ModelA(models.Model):
  2. username = models.BigAutoField(primary_key=True, db_index=False)
  3. user_id = models.UUIDField(default=uuid.uuid4, unique=True,
  4. editable=False)
  5.  
  6. django.db.utils.ProgrammingError: operator class "varchar_pattern_ops" does not accept data type bigint
Add Comment
Please, Sign In to add comment