mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +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
|
# since this table will be an unpleasant one to do schema changes
|
||||||
# on later
|
# on later
|
||||||
archived = models.BooleanField()
|
archived = models.BooleanField()
|
||||||
flags = BitField(flags=['read',], default=0)
|
flags = BitField(flags=['read', 'starred'], default=0)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
unique_together = ("user_profile", "message")
|
unique_together = ("user_profile", "message")
|
||||||
|
|||||||
Reference in New Issue
Block a user