Add migration to create artist, album, and song title indicies
This commit is contained in:
parent
11bc55bf61
commit
bd7b1ebd1a
@ -0,0 +1,3 @@
|
||||
DROP INDEX artists_name_idx;
|
||||
DROP INDEX albums_title_idx;
|
||||
DROP INDEX songs_title_idx;
|
@ -0,0 +1,3 @@
|
||||
CREATE INDEX artists_name_idx ON artists USING GIST (name gist_trgm_ops);
|
||||
CREATE INDEX albums_title_idx ON albums USING GIST (title gist_trgm_ops);
|
||||
CREATE INDEX songs_title_idx ON songs USING GIST (title gist_trgm_ops);
|
Loading…
x
Reference in New Issue
Block a user