This commit is contained in:
@@ -28,10 +28,11 @@ class AuthorFollower(Base):
|
||||
class Author(Base):
|
||||
__tablename__ = 'author'
|
||||
|
||||
user = Column(String, unique=True) # unbounded link with authorizer's User type
|
||||
user = Column(String,
|
||||
) # unbounded link with authorizer's User type
|
||||
|
||||
name = Column(String, nullable=True, comment='Display name')
|
||||
slug = Column(String, unique=True, comment="Author's slug", index=True)
|
||||
slug = Column(String, unique=True, comment="Author's slug")
|
||||
bio = Column(String, nullable=True, comment='Bio') # status description
|
||||
about = Column(String, nullable=True, comment='About') # long and formatted
|
||||
pic = Column(String, nullable=True, comment='Picture')
|
||||
|
Reference in New Issue
Block a user