allow-base
This commit is contained in:
@@ -18,7 +18,6 @@ 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")
|
||||
|
@@ -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")
|
||||
|
@@ -41,7 +41,6 @@ class ShoutAuthor(Base):
|
||||
|
||||
class Shout(Base):
|
||||
__tablename__ = "shout"
|
||||
__allow_unmapped__ = True
|
||||
|
||||
slug = Column(String, unique=True)
|
||||
community = Column(ForeignKey("community.id"), default=1)
|
||||
|
@@ -19,7 +19,6 @@ class TopicFollower(Base):
|
||||
|
||||
class Topic(Base):
|
||||
__tablename__ = "topic"
|
||||
__allow_unmapped__ = True
|
||||
|
||||
slug = Column(String, unique=True)
|
||||
title = Column(String, nullable=False, comment="Title")
|
||||
|
Reference in New Issue
Block a user