shout author caption

This commit is contained in:
tonyrewin 2022-08-03 23:27:29 +03:00
parent 8650969ed3
commit 7fd2bfaf96

View File

@ -25,6 +25,7 @@ class ShoutAuthor(Base):
id = None
shout = Column(ForeignKey('shout.slug'), primary_key = True)
user = Column(ForeignKey('user.slug'), primary_key = True)
caption: str = Column(String, nullable=False, default = "")
class ShoutAllowed(Base):
__tablename__ = "shout_allowed"