aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/models.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--webmentions_ssg/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/webmentions_ssg/models.py b/webmentions_ssg/models.py
index 688da67..11740a8 100644
--- a/webmentions_ssg/models.py
+++ b/webmentions_ssg/models.py
@@ -110,6 +110,10 @@ class ReceivedWebmention(Base):
nullable=False,
)
+ notification_sent_at: Mapped[datetime | None] = mapped_column(
+ DateTime(timezone=True), nullable=True, default=None
+ )
+
__table_args__ = (
UniqueConstraint("source", "target", name="uq_webmention_source_target"),
)