This commit is contained in:
@@ -41,4 +41,6 @@ class Author(Base):
|
||||
updated_at = Column(Integer, nullable=False, default=lambda: int(time.time()))
|
||||
deleted_at = Column(Integer, nullable=True, comment='Deleted at')
|
||||
|
||||
search_vector = Column(TSVectorType("name", "slug", "bio", "about", regconfig="pg_catalog.russian"))
|
||||
search_vector = Column(
|
||||
TSVectorType('name', 'slug', 'bio', 'about', regconfig='pg_catalog.russian')
|
||||
)
|
||||
|
Reference in New Issue
Block a user