fix: Shrink name fields to fit in indexed column

This commit is contained in:
James Graham
2020-02-28 15:05:47 +00:00
parent 507e2a43fa
commit 512c02a198
4 changed files with 50 additions and 4 deletions

View File

@@ -180,7 +180,7 @@ class RelationshipQuestion(models.Model):
blank=False, null=False)
#: Text of question
text = models.CharField(max_length=1023,
text = models.CharField(max_length=255,
blank=False, null=False)
#: Position of this question in the list
@@ -221,7 +221,7 @@ class RelationshipQuestionChoice(models.Model):
blank=False, null=False)
#: Text of answer
text = models.CharField(max_length=1023,
text = models.CharField(max_length=255,
blank=False, null=False)
#: Position of this answer in the list