Skip to content

Commit

Permalink
Add content_hash field to Message model
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Sep 10, 2024
1 parent 6ce69f2 commit ff72d3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metricity/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ class Message(Base):
author_id: Mapped[str] = mapped_column(ForeignKey("users.id", ondelete="CASCADE"), index=True)
created_at = mapped_column(TZDateTime())
is_deleted: Mapped[bool] = mapped_column(default=False)
content_hash: Mapped[str]

0 comments on commit ff72d3e

Please sign in to comment.