X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b910bb3156993b8c6c8cdae2f562e77c6a540a6e..90af4cd87e9525481bd0bc8120a18ebc27c9a459:/services/api/db/structure.sql diff --git a/services/api/db/structure.sql b/services/api/db/structure.sql index 91fc27866f..5d9e3e59f3 100644 --- a/services/api/db/structure.sql +++ b/services/api/db/structure.sql @@ -169,7 +169,8 @@ CREATE TABLE collections ( name character varying(255), description character varying(524288), properties text, - expires_at date + expires_at date, + file_names character varying(8192) ); @@ -1310,7 +1311,7 @@ CREATE UNIQUE INDEX collection_owner_uuid_name_unique ON collections USING btree -- Name: collections_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: -- -CREATE INDEX collections_search_index ON collections USING btree (owner_uuid, modified_by_client_uuid, modified_by_user_uuid, portable_data_hash, redundancy_confirmed_by_client_uuid, uuid, name, description); +CREATE INDEX collections_search_index ON collections USING btree (owner_uuid, modified_by_client_uuid, modified_by_user_uuid, portable_data_hash, redundancy_confirmed_by_client_uuid, uuid, name, file_names); -- @@ -1324,7 +1325,7 @@ CREATE UNIQUE INDEX groups_owner_uuid_name_unique ON groups USING btree (owner_u -- Name: groups_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: -- -CREATE INDEX groups_search_index ON groups USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, description, group_class); +CREATE INDEX groups_search_index ON groups USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, group_class); -- @@ -1989,7 +1990,7 @@ CREATE INDEX job_tasks_search_index ON job_tasks USING btree (uuid, owner_uuid, -- Name: jobs_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: -- -CREATE INDEX jobs_search_index ON jobs USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, submit_id, script, script_version, cancelled_by_client_uuid, cancelled_by_user_uuid, output, is_locked_by_uuid, log, repository, supplied_script_version, docker_image_locator, description, state, arvados_sdk_version); +CREATE INDEX jobs_search_index ON jobs USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, submit_id, script, script_version, cancelled_by_client_uuid, cancelled_by_user_uuid, output, is_locked_by_uuid, log, repository, supplied_script_version, docker_image_locator, state, arvados_sdk_version); -- @@ -2038,7 +2039,7 @@ CREATE INDEX nodes_search_index ON nodes USING btree (uuid, owner_uuid, modified -- Name: pipeline_instances_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: -- -CREATE INDEX pipeline_instances_search_index ON pipeline_instances USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, pipeline_template_uuid, name, state, description); +CREATE INDEX pipeline_instances_search_index ON pipeline_instances USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, pipeline_template_uuid, name, state); -- @@ -2052,7 +2053,7 @@ CREATE UNIQUE INDEX pipeline_template_owner_uuid_name_unique ON pipeline_templat -- Name: pipeline_templates_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: -- -CREATE INDEX pipeline_templates_search_index ON pipeline_templates USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, description); +CREATE INDEX pipeline_templates_search_index ON pipeline_templates USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name); -- @@ -2311,4 +2312,10 @@ INSERT INTO schema_migrations (version) VALUES ('20141208164553'); INSERT INTO schema_migrations (version) VALUES ('20141208174553'); -INSERT INTO schema_migrations (version) VALUES ('20141208185217'); \ No newline at end of file +INSERT INTO schema_migrations (version) VALUES ('20141208174653'); + +INSERT INTO schema_migrations (version) VALUES ('20141208185217'); + +INSERT INTO schema_migrations (version) VALUES ('20150122175935'); + +INSERT INTO schema_migrations (version) VALUES ('20150203180223'); \ No newline at end of file