Commit 7171397d by Adam Palay Committed by Calen Pennington

extend max_length of anonymous_user_id (LMS-1571)

parent ddb24833
...@@ -53,7 +53,7 @@ class AnonymousUserId(models.Model): ...@@ -53,7 +53,7 @@ class AnonymousUserId(models.Model):
http://docs.python.org/2/library/md5.html#md5.digest_size http://docs.python.org/2/library/md5.html#md5.digest_size
""" """
user = models.ForeignKey(User, db_index=True) user = models.ForeignKey(User, db_index=True)
anonymous_user_id = models.CharField(unique=True, max_length=16) anonymous_user_id = models.CharField(unique=True, max_length=32)
course_id = models.CharField(db_index=True, max_length=255) course_id = models.CharField(db_index=True, max_length=255)
unique_together = (user, course_id) unique_together = (user, course_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment