more-allow

This commit is contained in:
2023-01-31 10:32:33 +03:00
parent 1788ab7ea1
commit 0da0313435
3 changed files with 3 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ class ShoutAuthor(Base):
class Shout(Base):
__tablename__ = "shout"
__allow_unmapped__ = True
slug = Column(String, unique=True)
community = Column(ForeignKey("community.id"), default=1)