Full-text search using postgresql #162

Merged
Oleg-Komarov merged 10 commits from fts into main 2024-06-03 20:07:23 +02:00
Showing only changes of commit d58bc45158 - Show all commits

View File

@ -13,6 +13,7 @@ def create_indexes(apps, schema_editor):
gin ((to_tsvector('english', name) || ' ' || to_tsvector('english', description)))
"""
)
cursor.execute('create extension if not exists pg_trgm;')
cursor.execute(
"""
CREATE INDEX extensions_trgm_gin ON extensions_extension USING