db/structure.sql: add index_pools_on_name_trgm migration.

This commit is contained in:
evazion 2017-04-16 21:05:15 -05:00
parent 54b4a2e0c5
commit cf9b67efb7

View File

@ -6805,7 +6805,7 @@ CREATE INDEX index_pools_on_name ON pools USING btree (name);
-- Name: index_pools_on_name_trgm; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX index_pools_on_name_trgm ON pools USING gin (name gin_trgm_ops);
CREATE INDEX index_pools_on_name_trgm ON pools USING gin (lower((name)::text) gin_trgm_ops);
--
@ -7581,3 +7581,5 @@ INSERT INTO schema_migrations (version) VALUES ('20170413000209');
INSERT INTO schema_migrations (version) VALUES ('20170414005856');
INSERT INTO schema_migrations (version) VALUES ('20170414233426');