allow-base

This commit is contained in:
2023-01-31 10:36:54 +03:00
parent 0da0313435
commit b9b7d330d2
5 changed files with 3 additions and 5 deletions

View File

@@ -30,7 +30,6 @@ class ClassType(TypeDecorator):
class Role(Base):
__tablename__ = "role"
__allow_unmapped__ = True
name = Column(String, nullable=False, comment="Role Name")
desc = Column(String, nullable=True, comment="Role Description")