mirror of https://github.com/zulip/zulip.git
[schema] Add a StreamColor table.
(imported from commit 2906c30ad326373bc6265bf30dd0a70e11d69c7d)
This commit is contained in:
parent
f71affdc11
commit
71371823f8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue