diff --git a/orm/author.py b/orm/author.py index 3dc8ce99..dba50baf 100644 --- a/orm/author.py +++ b/orm/author.py @@ -41,4 +41,4 @@ 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")) + search_vector = Column(TSVectorType("name", "slug", "bio", "about", regconfig="pg_catalog.russian"))