X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/273706ae09862364deaa0287a3b563340300fdea..1253bdcdc5dc43dc3880751a7255256c292e0ddc:/db/migrate/20100513171259_add_user_date_index_to_changeset.rb diff --git a/db/migrate/20100513171259_add_user_date_index_to_changeset.rb b/db/migrate/20100513171259_add_user_date_index_to_changeset.rb index 22e1f08fb..d15cad5ed 100644 --- a/db/migrate/20100513171259_add_user_date_index_to_changeset.rb +++ b/db/migrate/20100513171259_add_user_date_index_to_changeset.rb @@ -1,9 +1,9 @@ -class AddUserDateIndexToChangeset < ActiveRecord::Migration +class AddUserDateIndexToChangeset < ActiveRecord::Migration[4.2] def self.up add_index :changesets, [:user_id, :created_at], :name => "changesets_user_id_created_at_idx" end def self.down - remove_index :changesets, [:user_id, :created_at], :name => "changesets_user_id_created_at_idx" + remove_index :changesets, :name => "changesets_user_id_created_at_idx" end end