X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/659a8c75c837ec30e2f9fb6f1a1859b625626c3e..6eb3d1fb8fe71623fa63da46c250184cf2e4fbb8:/services/api/db/structure.sql diff --git a/services/api/db/structure.sql b/services/api/db/structure.sql index 40861f4557..dc44e41dea 100644 --- a/services/api/db/structure.sql +++ b/services/api/db/structure.sql @@ -432,8 +432,8 @@ CREATE TABLE jobs ( docker_image_locator character varying(255), priority integer DEFAULT 0 NOT NULL, description character varying(524288), - state character varying(255), - arvados_sdk_version character varying(255) + arvados_sdk_version character varying(255), + state character varying(255) ); @@ -518,7 +518,8 @@ CREATE TABLE keep_services ( service_ssl_flag boolean, service_type character varying(255), created_at timestamp without time zone NOT NULL, - updated_at timestamp without time zone NOT NULL + updated_at timestamp without time zone NOT NULL, + read_only boolean DEFAULT false NOT NULL ); @@ -760,8 +761,6 @@ CREATE TABLE repositories ( modified_by_user_uuid character varying(255), modified_at timestamp without time zone, name character varying(255), - fetch_url character varying(255), - push_url character varying(255), created_at timestamp without time zone NOT NULL, updated_at timestamp without time zone NOT NULL ); @@ -1318,7 +1317,7 @@ CREATE INDEX collections_full_text_search_idx ON collections USING gin (to_tsvec -- 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, uuid, name, file_names); +CREATE INDEX collections_search_index ON collections USING btree (owner_uuid, modified_by_client_uuid, modified_by_user_uuid, portable_data_hash, uuid, name); -- @@ -2102,7 +2101,7 @@ CREATE INDEX pipeline_templates_search_index ON pipeline_templates USING btree ( -- Name: repositories_search_index; Type: INDEX; Schema: public; Owner: -; Tablespace: -- -CREATE INDEX repositories_search_index ON repositories USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name, fetch_url, push_url); +CREATE INDEX repositories_search_index ON repositories USING btree (uuid, owner_uuid, modified_by_client_uuid, modified_by_user_uuid, name); -- @@ -2374,4 +2373,10 @@ INSERT INTO schema_migrations (version) VALUES ('20150303210106'); INSERT INTO schema_migrations (version) VALUES ('20150312151136'); -INSERT INTO schema_migrations (version) VALUES ('20150317132720'); \ No newline at end of file +INSERT INTO schema_migrations (version) VALUES ('20150317132720'); + +INSERT INTO schema_migrations (version) VALUES ('20150324152204'); + +INSERT INTO schema_migrations (version) VALUES ('20150423145759'); + +INSERT INTO schema_migrations (version) VALUES ('20150512193020'); \ No newline at end of file