[schema] Add notifications to Subscription model

(imported from commit 4d6a7aa17f3fad4b6f8fb7a100b3b578446e3625)
This commit is contained in:
Zev Benjamin 2013-04-08 11:29:33 -04:00
parent 34e9b7d4da
commit e754479e9c
1 changed files with 1 additions and 0 deletions

View File

@ -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")