From 868b2ba16af1f8c72df285f776b25d198a851e14 Mon Sep 17 00:00:00 2001 From: Untone Date: Sat, 27 Apr 2024 01:43:42 +0300 Subject: [PATCH] removed-search-vector --- orm/author.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/orm/author.py b/orm/author.py index 5199bca0..f451e1b8 100644 --- a/orm/author.py +++ b/orm/author.py @@ -1,7 +1,7 @@ import time from sqlalchemy import JSON, Boolean, Column, ForeignKey, Integer, String -from sqlalchemy_utils import TSVectorType +# from sqlalchemy_utils import TSVectorType from services.db import Base @@ -41,6 +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") + # )