X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/16f704326f44fd1e5e5e60b936c9b5895d6a6ff8..7ff8f285eb1ff374091e2d8e8e23f36d8b15a775:/services/api/db/migrate/20171212153352_add_gin_index_to_collection_properties.rb?ds=sidebyside 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 0183ef6dc5..a68168cac8 100644 --- 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 -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