X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/080c940d7a8134a6e277a53b7e45eb27e2b2c87f..a7631a1ccb6e2a6925d00a06562e171c4ce4ea2f:/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