mirror of https://github.com/zulip/zulip.git
[schema] Add notifications to Subscription model
(imported from commit 4d6a7aa17f3fad4b6f8fb7a100b3b578446e3625)
This commit is contained in:
parent
34e9b7d4da
commit
e754479e9c
|
@ -340,6 +340,7 @@ class Subscription(models.Model):
|
||||||
|
|
||||||
DEFAULT_STREAM_COLOR = "#c2c2c2"
|
DEFAULT_STREAM_COLOR = "#c2c2c2"
|
||||||
color = models.CharField(max_length=10, default=DEFAULT_STREAM_COLOR)
|
color = models.CharField(max_length=10, default=DEFAULT_STREAM_COLOR)
|
||||||
|
notifications = models.BooleanField(default=False)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
unique_together = ("user_profile", "recipient")
|
unique_together = ("user_profile", "recipient")
|
||||||
|
|
Loading…
Reference in New Issue