[schema] Add a StreamColor table.

(imported from commit 2906c30ad326373bc6265bf30dd0a70e11d69c7d)
This commit is contained in:
Jessica McKellar 2012-11-30 22:35:59 -05:00
parent f71affdc11
commit 71371823f8
1 changed files with 4 additions and 0 deletions

View File

@ -727,3 +727,7 @@ class DefaultStream(models.Model):
class Meta: class Meta:
unique_together = ("realm", "stream") unique_together = ("realm", "stream")
class StreamColor(models.Model):
subscription = models.ForeignKey(Subscription)
color = models.CharField(max_length=10)