Improve pruning process

This commit is contained in:
Thomas Sileo 2022-08-19 14:50:56 +02:00
parent 6f9d9d7d9d
commit b2c161466f
3 changed files with 63 additions and 0 deletions

View file

@ -86,6 +86,10 @@ class InboxObject(Base, BaseObject):
visibility = Column(Enum(ap.VisibilityEnum), nullable=False)
conversation = Column(String, nullable=True)
has_local_mention = Column(
Boolean, nullable=False, default=False, server_default="0"
)
# Used for Like, Announce and Undo activities
relates_to_inbox_object_id = Column(
Integer,