no-unique-index
All checks were successful
Deploy to core / deploy (push) Successful in 1m33s

This commit is contained in:
2024-02-19 17:22:38 +03:00
parent 981a4c4fce
commit 69984788fa
6 changed files with 8 additions and 7 deletions

View File

@@ -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')