X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9b10cbccb6ab258d6cecc1f8ba32c4ee1781c92f..73170726e2e1c6f5dcbb649f82c4a845b9d6e980:/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