Merge branch 'master' into 4523-search-index
[arvados.git] / services / api / db / structure.sql
index 194c1113e86a41e9066cce7767be3bace335ce25..df3e58fe9a2400ea87730060d0cdbe4a74c71613 100644 (file)
@@ -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, description, file_names);
 
 
 --
@@ -2311,4 +2312,6 @@ INSERT INTO schema_migrations (version) VALUES ('20141208164553');
 
 INSERT INTO schema_migrations (version) VALUES ('20141208174553');
 
+INSERT INTO schema_migrations (version) VALUES ('20141208174653');
+
 INSERT INTO schema_migrations (version) VALUES ('20141208185217');
\ No newline at end of file