[ARVADOS] updated: 0fd86b9728a80ef07d65fbf0a8278b4a7e44c57a
git at public.curoverse.com
git at public.curoverse.com
Mon Feb 16 16:01:00 EST 2015
Summary of changes:
.../20150216193428_collection_name_owner_unique_only_non_expired.rb | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
via 0fd86b9728a80ef07d65fbf0a8278b4a7e44c57a (commit)
from 8c629ffa55a646fdab671dd6b6d0a292dcea2510 (commit)
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 0fd86b9728a80ef07d65fbf0a8278b4a7e44c57a
Author: Radhika Chippada <radhika at curoverse.com>
Date: Mon Feb 16 15:41:05 2015 -0500
5197: down migration working
diff --git a/services/api/db/migrate/20150216193428_collection_name_owner_unique_only_non_expired.rb b/services/api/db/migrate/20150216193428_collection_name_owner_unique_only_non_expired.rb
index 9285688..d2c629a 100644
--- a/services/api/db/migrate/20150216193428_collection_name_owner_unique_only_non_expired.rb
+++ b/services/api/db/migrate/20150216193428_collection_name_owner_unique_only_non_expired.rb
@@ -17,8 +17,7 @@ class CollectionNameOwnerUniqueOnlyNonExpired < ActiveRecord::Migration
def down
# it failed during up. is it going to pass now? should we do nothing?
remove_index :collections, :name => 'collection_owner_uuid_name_unique' if !find_index.empty?
- # and this is failing ...
- # add_index(:collections, [:owner_uuid, :name], unique: true,
- # name: 'collection_owner_uuid_name_unique')
+ add_index(:collections, [:owner_uuid, :name], unique: true,
+ name: 'collection_owner_uuid_name_unique')
end
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list