feat(attachments): PostAttachment model + 0009 (table + batch counter)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-19 11:10:53 -04:00
parent e3f6e6fadd
commit 8f69478227
5 changed files with 155 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@ class ImportBatch(Base):
imported: Mapped[int] = mapped_column(Integer, nullable=False, default=0)
skipped: Mapped[int] = mapped_column(Integer, nullable=False, default=0)
failed: Mapped[int] = mapped_column(Integer, nullable=False, default=0)
attachments: Mapped[int] = mapped_column(Integer, nullable=False, default=0)
status: Mapped[str] = mapped_column(String(16), nullable=False, default="running", index=True)
# running | complete | cancelled