From 71371823f84540d6035a203e90453320961e4fa7 Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Fri, 30 Nov 2012 22:35:59 -0500 Subject: [PATCH] [schema] Add a StreamColor table. (imported from commit 2906c30ad326373bc6265bf30dd0a70e11d69c7d) --- zephyr/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zephyr/models.py b/zephyr/models.py index 994bbb3666..39c9a433ee 100644 --- a/zephyr/models.py +++ b/zephyr/models.py @@ -727,3 +727,7 @@ class DefaultStream(models.Model): class Meta: unique_together = ("realm", "stream") + +class StreamColor(models.Model): + subscription = models.ForeignKey(Subscription) + color = models.CharField(max_length=10)