X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/996e60614d9d5a2e43b0ca246d9786d569fb7be2..3b96bbc80976836c6783ddd81db2f93b7e3fa3a2:/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..824911327 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[5.0] def self.up add_index :changesets, [:user_id, :id], :name => "changesets_user_id_id_idx" remove_index :changesets, :name => "changesets_user_id_idx"