projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 15106-trgm-text-search
[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 ce2403e743578f272f34cf360dfb544dc6f2132c..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
@@
-1,4
+1,8
@@
-class AddGinIndexToCollectionProperties < ActiveRecord::Migration
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+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