mirror of https://github.com/zulip/zulip.git
[schema] Add new boolean field in_home_view to Subscriptions
This is part of the Oppa Gmail Style proposed by Waseem. (imported from commit 0663889bcb1f691842f69d243fd4ac0e4e3e0868)
This commit is contained in:
parent
a3a0880266
commit
cb5c9ed047
|
@ -270,6 +270,7 @@ class Subscription(models.Model):
|
|||
user_profile = models.ForeignKey(UserProfile)
|
||||
recipient = models.ForeignKey(Recipient)
|
||||
active = models.BooleanField(default=True)
|
||||
in_home_view = models.NullBooleanField(default=True)
|
||||
|
||||
class Meta:
|
||||
unique_together = ("user_profile", "recipient")
|
||||
|
|
Loading…
Reference in New Issue