tags: add trigram index on tag names.
This commit is contained in:
@@ -7008,6 +7008,13 @@ CREATE UNIQUE INDEX index_tags_on_name ON tags USING btree (name);
|
||||
CREATE INDEX index_tags_on_name_pattern ON tags USING btree (name text_pattern_ops);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_tags_on_name_trgm; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE INDEX index_tags_on_name_trgm ON tags USING gin (name gin_trgm_ops);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_token_buckets_on_user_id; Type: INDEX; Schema: public; Owner: -
|
||||
--
|
||||
@@ -7521,3 +7528,5 @@ INSERT INTO schema_migrations (version) VALUES ('20170914200122');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20171106075030');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20171127195124');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user