[schema] Increase maximum stream name length to 60.

(imported from commit 83e9434178909d18481692a9e7fe3b8e1802bd7e)
This commit is contained in:
Tim Abbott
2013-10-09 10:55:17 -04:00
parent 0dddd80b2b
commit 32861af323
3 changed files with 213 additions and 3 deletions

View File

@@ -268,7 +268,7 @@ class MitUser(models.Model):
status = models.IntegerField(default=0)
class Stream(models.Model):
MAX_NAME_LENGTH = 30
MAX_NAME_LENGTH = 60
name = models.CharField(max_length=MAX_NAME_LENGTH, db_index=True)
realm = models.ForeignKey(Realm, db_index=True)
invite_only = models.NullBooleanField(default=False)