shout with id for candidates

This commit is contained in:
2022-06-14 09:13:06 +03:00
parent 47326069b1
commit 9a685590fb
2 changed files with 3 additions and 2 deletions

View File

@@ -315,7 +315,7 @@ class CommentStat:
class Shout(Base):
__tablename__ = 'shout'
id = None
# id = None
slug: str = Column(String, primary_key=True)
community: int = Column(Integer, ForeignKey("community.id"), nullable=False, comment="Community")