This commit is contained in:
parent
2e4d70db28
commit
868b2ba16a
|
@ -1,7 +1,7 @@
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from sqlalchemy import JSON, Boolean, Column, ForeignKey, Integer, String
|
from sqlalchemy import JSON, Boolean, Column, ForeignKey, Integer, String
|
||||||
from sqlalchemy_utils import TSVectorType
|
# from sqlalchemy_utils import TSVectorType
|
||||||
|
|
||||||
from services.db import Base
|
from services.db import Base
|
||||||
|
|
||||||
|
@ -41,6 +41,6 @@ class Author(Base):
|
||||||
updated_at = Column(Integer, nullable=False, default=lambda: int(time.time()))
|
updated_at = Column(Integer, nullable=False, default=lambda: int(time.time()))
|
||||||
deleted_at = Column(Integer, nullable=True, comment="Deleted at")
|
deleted_at = Column(Integer, nullable=True, comment="Deleted at")
|
||||||
|
|
||||||
search_vector = Column(
|
# search_vector = Column(
|
||||||
TSVectorType("name", "slug", "bio", "about", regconfig="pg_catalog.russian")
|
# TSVectorType("name", "slug", "bio", "about", regconfig="pg_catalog.russian")
|
||||||
)
|
# )
|
||||||
|
|
Loading…
Reference in New Issue
Block a user