projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20470: Fix discovery document generation to drop unpublished fields
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20171212153352_add_gin_index_to_collection_properties.rb
diff --git
a/services/api/db/migrate/20171212153352_add_gin_index_to_collection_properties.rb
b/services/api/db/migrate/20171212153352_add_gin_index_to_collection_properties.rb
index 0183ef6dc51dc50d81df2999fa8bdd01539f8c14..a68168cac869ae1a64c33b1fbf34fadb11ea09fd 100644
(file)
--- a/
services/api/db/migrate/20171212153352_add_gin_index_to_collection_properties.rb
+++ b/
services/api/db/migrate/20171212153352_add_gin_index_to_collection_properties.rb
@@
-2,7
+2,7
@@
#
# SPDX-License-Identifier: AGPL-3.0
#
# SPDX-License-Identifier: AGPL-3.0
-class AddGinIndexToCollectionProperties < ActiveRecord::Migration
+class AddGinIndexToCollectionProperties < ActiveRecord::Migration
[4.2]
def up
ActiveRecord::Base.connection.execute("CREATE INDEX collection_index_on_properties ON collections USING gin (properties);")
end
def up
ActiveRecord::Base.connection.execute("CREATE INDEX collection_index_on_properties ON collections USING gin (properties);")
end