🐐
This commit is contained in:
@@ -41,6 +41,7 @@ class Card(Base):
|
||||
created_at: Mapped[datetime] = mapped_column(DateTime, default=datetime.now)
|
||||
times_played: Mapped[int] = mapped_column(Integer, default=0, nullable=False)
|
||||
reported: Mapped[bool] = mapped_column(Boolean, default=False, nullable=False)
|
||||
ai_used: Mapped[bool] = mapped_column(Boolean, default=False, nullable=False)
|
||||
|
||||
user: Mapped["User | None"] = relationship(back_populates="cards")
|
||||
deck_cards: Mapped[list["DeckCard"]] = relationship(back_populates="card")
|
||||
|
||||
Reference in New Issue
Block a user