diff --git a/scrarls.py b/scrarls.py index e8d7d3b..8dbcbcb 100644 --- a/scrarls.py +++ b/scrarls.py @@ -69,6 +69,9 @@ class TvShowDB(Base): onupdate=func.datetime('now'), nullable=False ) + links: Mapped[list["LinkDB"]] = relationship(back_populates="show") + + class LinkDB(Base): """Modèle pour le stockage des liens de téléchargement (SQLAlchemy 2.0)."""