createdby

This commit is contained in:
2023-11-30 11:04:03 +03:00
parent 2d3f7a51b4
commit 685988c219
2 changed files with 5 additions and 3 deletions

View File

@@ -61,6 +61,8 @@ class Shout(Base):
published_at = Column(Integer, nullable=True)
deleted_at = Column(Integer, nullable=True)
created_by = Column(ForeignKey("author.id"), nullable=False)
updated_by = Column(ForeignKey("author.id"), nullable=True)
deleted_by = Column(ForeignKey("author.id"), nullable=True)
body = Column(String, nullable=False, comment="Body")