X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8f924c10a36dc073c33f390eee6a2d2cd069859f..cd7a746df5e9bf8a5770d06410b3fe1908282a7b:/services/api/db/structure.sql diff --git a/services/api/db/structure.sql b/services/api/db/structure.sql index aa29a1cbb4..211fa5043f 100644 --- a/services/api/db/structure.sql +++ b/services/api/db/structure.sql @@ -2278,6 +2278,20 @@ CREATE INDEX index_links_on_modified_at_uuid ON public.links USING btree (modifi CREATE INDEX index_links_on_owner_uuid ON public.links USING btree (owner_uuid); +-- +-- Name: index_links_on_substring_head_uuid; Type: INDEX; Schema: public; Owner: - +-- + +CREATE INDEX index_links_on_substring_head_uuid ON public.links USING btree ("substring"((head_uuid)::text, 7, 5)); + + +-- +-- Name: index_links_on_substring_tail_uuid; Type: INDEX; Schema: public; Owner: - +-- + +CREATE INDEX index_links_on_substring_tail_uuid ON public.links USING btree ("substring"((tail_uuid)::text, 7, 5)); + + -- -- Name: index_links_on_tail_uuid; Type: INDEX; Schema: public; Owner: - -- @@ -3201,3 +3215,5 @@ INSERT INTO schema_migrations (version) VALUES ('20181005192222'); INSERT INTO schema_migrations (version) VALUES ('20181011184200'); +INSERT INTO schema_migrations (version) VALUES ('20181213183234'); +