diff options
author | 2024-09-10 16:29:41 +0100 | |
---|---|---|
committer | 2024-09-10 17:02:57 +0100 | |
commit | 371da4f6de975f39de906641ecc2fcf197e7abac (patch) | |
tree | baa894a6f937268fc1fca93efec94475570f7f87 | |
parent | Bump version to 2.7.0 (diff) |
Add content_hash field to Message model
-rw-r--r-- | metricity/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/metricity/models.py b/metricity/models.py index 86bb723..638e442 100644 --- a/metricity/models.py +++ b/metricity/models.py @@ -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] = mapped_column(nullable=True) |