minor fix

This commit is contained in:
knst-kotov
2021-08-23 17:46:05 +03:00
parent 78b41cb9c4
commit 9cb7f87021
3 changed files with 12 additions and 10 deletions

View File

@@ -20,6 +20,7 @@ ShoutTopics = Table('shout_topics',
class Shout(Base):
__tablename__ = 'shout'
id = None
slug: str = Column(String, primary_key=True)
org_id: int = Column(Integer, ForeignKey("organization.id"), nullable=False, comment="Organization")
body: str = Column(String, nullable=False, comment="Body")