model-index-slug
All checks were successful
Deploy to core / deploy (push) Successful in 1m39s

This commit is contained in:
2024-02-19 13:25:47 +03:00
parent 8193bd0178
commit b89060f15f
6 changed files with 7 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ class Author(Base):
user = Column(String, unique=True) # unbounded link with authorizer's User type
name = Column(String, nullable=True, comment='Display name')
slug = Column(String, unique=True, comment="Author's slug")
slug = Column(String, unique=True, comment="Author's slug", index=True)
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')