models: Remove a scary but obsolete comment.

This field was apparently never used, perhaps because we
reread this comment and anticipated how much future pain
it was warning us to avoid. :)  See commit 2de31ee28,
which deleted it.
This commit is contained in:
Greg Price 2017-06-07 16:51:17 -07:00
parent c9e35c459a
commit 4a652ded0b
1 changed files with 0 additions and 3 deletions

View File

@ -1260,9 +1260,6 @@ class Reaction(ModelReprMixin, models.Model):
# though each row is only 4 integers.
class AbstractUserMessage(ModelReprMixin, models.Model):
user_profile = models.ForeignKey(UserProfile, on_delete=CASCADE) # type: UserProfile
# We're not using the archived field for now, but create it anyway
# since this table will be an unpleasant one to do schema changes
# on later
ALL_FLAGS = ['read', 'starred', 'collapsed', 'mentioned', 'wildcard_mentioned',
'summarize_in_home', 'summarize_in_stream', 'force_expand', 'force_collapse',
'has_alert_word', "historical", 'is_me_message']