From 7fd2bfaf963433667c537b3c465c459358520459 Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Wed, 3 Aug 2022 23:27:29 +0300 Subject: [PATCH] shout author caption --- orm/shout.py | 1 + 1 file changed, 1 insertion(+) diff --git a/orm/shout.py b/orm/shout.py index a178df08..22797952 100644 --- a/orm/shout.py +++ b/orm/shout.py @@ -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"