X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6fe8e52020d421797306e5c6536afbcee761510a..060dc61639b8a5ac4458bc21d1120b3ad508b0a3:/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 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