[ARVADOS] updated: 01da808f446e944873c611b6d229e01980c80f9c

Git user git at public.curoverse.com
Tue Mar 28 18:01:35 EDT 2017


Summary of changes:
 services/api/db/structure.sql | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

  discards  c33633164a2f0fc67ace7941ae5db7b983062c8e (commit)
       via  01da808f446e944873c611b6d229e01980c80f9c (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (c33633164a2f0fc67ace7941ae5db7b983062c8e)
            \
             N -- N -- N (01da808f446e944873c611b6d229e01980c80f9c)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 01da808f446e944873c611b6d229e01980c80f9c
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Mar 28 18:01:25 2017 -0400

    11361: Add pdh index to collections table.

diff --git a/services/api/db/migrate/20170328215436_add_portable_data_hash_index_to_collections.rb b/services/api/db/migrate/20170328215436_add_portable_data_hash_index_to_collections.rb
new file mode 100644
index 0000000..01ebad5
--- /dev/null
+++ b/services/api/db/migrate/20170328215436_add_portable_data_hash_index_to_collections.rb
@@ -0,0 +1,5 @@
+class AddPortableDataHashIndexToCollections < ActiveRecord::Migration
+  def change
+    add_index :collections, :portable_data_hash
+  end
+end
diff --git a/services/api/db/structure.sql b/services/api/db/structure.sql
index 87b6575..d877452 100644
--- a/services/api/db/structure.sql
+++ b/services/api/db/structure.sql
@@ -1688,6 +1688,13 @@ CREATE UNIQUE INDEX index_collections_on_owner_uuid_and_name ON collections USIN
 
 
 --
+-- Name: index_collections_on_portable_data_hash; Type: INDEX; Schema: public; Owner: -; Tablespace: 
+--
+
+CREATE INDEX index_collections_on_portable_data_hash ON collections USING btree (portable_data_hash);
+
+
+--
 -- Name: index_collections_on_trash_at; Type: INDEX; Schema: public; Owner: -; Tablespace: 
 --
 
@@ -2744,4 +2751,6 @@ INSERT INTO schema_migrations (version) VALUES ('20170105160302');
 
 INSERT INTO schema_migrations (version) VALUES ('20170216170823');
 
-INSERT INTO schema_migrations (version) VALUES ('20170301225558');
\ No newline at end of file
+INSERT INTO schema_migrations (version) VALUES ('20170301225558');
+
+INSERT INTO schema_migrations (version) VALUES ('20170328215436');
\ No newline at end of file

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list