Skip to content

Commit

Permalink
add deletion_scheduled column to DraftReply table
Browse files Browse the repository at this point in the history
  • Loading branch information
Allie Crevier committed Oct 21, 2021
1 parent 6fa7364 commit 62ea54e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions securedrop_client/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ class DraftReply(Base):
send_status_id = Column(Integer, ForeignKey("replysendstatuses.id"))
send_status = relationship("ReplySendStatus")

deletion_scheduled = Column(Boolean(name="deletion_scheduled"), nullable=False, server_default=text("0"))

def __init__(self, **kwargs: Any) -> None:
super().__init__(**kwargs)

Expand Down

0 comments on commit 62ea54e

Please sign in to comment.