projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '15286-fixes'
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20150216193428_collection_name_owner_unique_only_non_expired.rb
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 6e581883c5709569ad0bd0411f6c61ca3bd43d77..72ef88c18589f73650c5d0db1950dc3b8371c483 100644
(file)
--- 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
@@
-2,7
+2,7
@@
#
# SPDX-License-Identifier: AGPL-3.0
#
# SPDX-License-Identifier: AGPL-3.0
-class CollectionNameOwnerUniqueOnlyNonExpired < ActiveRecord::Migration
+class CollectionNameOwnerUniqueOnlyNonExpired < ActiveRecord::Migration
[4.2]
def find_index
indexes = ActiveRecord::Base.connection.indexes('collections')
name_owner_index = indexes.select do |index|
def find_index
indexes = ActiveRecord::Base.connection.indexes('collections')
name_owner_index = indexes.select do |index|