This commit is contained in:
2022-09-19 01:11:26 +03:00
parent 40ea813399
commit a61d6c149c
3 changed files with 66 additions and 45 deletions

View File

@@ -47,6 +47,7 @@ class Shout(Base):
id = None # type: ignore
slug = Column(String, primary_key=True)
community = Column(Integer, ForeignKey("community.id"), nullable=False, comment="Community")
lang = Column(String, nullable=False, default='ru', comment="Language")
body = Column(String, nullable=False, comment="Body")
title = Column(String, nullable=True)
subtitle = Column(String, nullable=True)