feat: deal status history table
This commit is contained in:
@ -20,7 +20,7 @@ class Status(BaseModel, IdMixin, SoftDeleteMixin):
|
||||
board: Mapped["Board"] = relationship(back_populates="statuses")
|
||||
|
||||
|
||||
class CardStatusHistory(BaseModel, IdMixin, CreatedAtMixin):
|
||||
class DealStatusHistory(BaseModel, IdMixin, CreatedAtMixin):
|
||||
__tablename__ = "status_history"
|
||||
|
||||
deal_id: Mapped[int] = mapped_column(ForeignKey("deals.id"), nullable=False)
|
||||
|
||||
Reference in New Issue
Block a user