_allow_unmapped__

This commit is contained in:
2023-01-31 10:30:21 +03:00
parent 92b6aece57
commit 1788ab7ea1
2 changed files with 2 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ class CommunityFollower(Base):
class Community(Base):
__tablename__ = "community"
__allow_unmapped__ = True
name = Column(String, nullable=False, comment="Name")
slug = Column(String, nullable=False, unique=True, comment="Slug")