This commit is contained in:
lbenedar
2026-03-18 17:29:42 +03:00
parent 17267ed145
commit c4df79dffa
3 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
DROP INDEX IF EXISTS movies_title_idx;
DROP INDEX IF EXISTS movies_genres_idx;

View File

@@ -0,0 +1,2 @@
CREATE INDEX IF NOT EXISTS movies_title_idx ON movies USING GIN (to_tsvector('simple', title));
CREATE INDEX IF NOT EXISTS movies_genres_idx ON movies USING GIN (genres);