Update project 2nd iteration
This commit is contained in:
@@ -52,6 +52,7 @@ class Ticket(Base):
|
||||
index=True
|
||||
)
|
||||
idempotency_key: Mapped[str] = mapped_column(String, unique=True, nullable=True)
|
||||
pdf_url: Mapped[str | None] = mapped_column(String, nullable=True)
|
||||
created_at: Mapped[datetime] = mapped_column(DateTime(timezone=True), default=lambda: datetime.now(timezone.utc))
|
||||
updated_at: Mapped[datetime] = mapped_column(
|
||||
DateTime(timezone=True),
|
||||
|
||||
Reference in New Issue
Block a user