From ad1bb4af1969eb46d7070424c1a72f814dcd1bec Mon Sep 17 00:00:00 2001 From: Untone Date: Sun, 25 Feb 2024 16:46:27 +0300 Subject: [PATCH] search-pg-catalog --- orm/author.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))