X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/594960dc63f1e627efbdd24e1a3d3d6203655a68..22160b445fefecfc05df263ebeccc1d090c1a9f1:/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