X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b5d0de88eab8b22bedec7fd7cc34552caa1584ab..1b288d40c7fff3d3be8d82d4e96c9008778f4dba:/db/migrate/049_improve_changeset_user_index.rb diff --git a/db/migrate/049_improve_changeset_user_index.rb b/db/migrate/049_improve_changeset_user_index.rb index f02a63dcb..b58860d60 100644 --- a/db/migrate/049_improve_changeset_user_index.rb +++ b/db/migrate/049_improve_changeset_user_index.rb @@ -1,4 +1,4 @@ -class ImproveChangesetUserIndex < ActiveRecord::Migration +class ImproveChangesetUserIndex < ActiveRecord::Migration[4.2] def self.up add_index :changesets, [:user_id, :id], :name => "changesets_user_id_id_idx" remove_index :changesets, :name => "changesets_user_id_idx"