mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
Add a starred bit to the UserMessage.flags BitField.
(imported from commit 3998edcdafbf6b452b05aa72db86bfaafdd83e01)
This commit is contained in:
@@ -312,7 +312,7 @@ class UserMessage(models.Model):
|
||||
# since this table will be an unpleasant one to do schema changes
|
||||
# on later
|
||||
archived = models.BooleanField()
|
||||
flags = BitField(flags=['read',], default=0)
|
||||
flags = BitField(flags=['read', 'starred'], default=0)
|
||||
|
||||
class Meta:
|
||||
unique_together = ("user_profile", "message")
|
||||
|
||||
Reference in New Issue
Block a user