template
This commit is contained in:
parent
6b6b929fea
commit
9f03e5df32
9 changed files with 225 additions and 37 deletions
|
|
@ -667,6 +667,7 @@ class WhatsAppBroadcastJob(Base):
|
|||
sent_count: Mapped[int] = mapped_column(default=0)
|
||||
failed_count: Mapped[int] = mapped_column(default=0)
|
||||
next_index: Mapped[int] = mapped_column(default=0)
|
||||
failures: Mapped[list | None] = mapped_column(JSON, nullable=True)
|
||||
last_error: Mapped[str | None] = mapped_column(String(500), nullable=True)
|
||||
created_at: Mapped[datetime] = mapped_column(DateTime(timezone=True), server_default=func.now(), index=True)
|
||||
completed_at: Mapped[datetime | None] = mapped_column(DateTime(timezone=True), nullable=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue