Add field published_on and title to Issue

/refs #16

Add field published_on and title to Issue and display both fields.
This commit is contained in:
Thomas Peetz
2025-06-01 18:32:15 +02:00
parent 7c5c571716
commit 1151b0e45e
9 changed files with 138 additions and 68 deletions
+2
View File
@@ -95,6 +95,8 @@ class StoryArc(Base, BaseMixin):
class Issue(Base, BaseMixin):
__tablename__ = "issue"
issue_number = Column(String)
title = Column(String, nullable=True)
published_on: Mapped[datetime] = mapped_column(nullable=True)
in_stock = Column(Boolean)
is_read = Column(Boolean)
comic_id = Column(String, ForeignKey("comic.id"), nullable=False)