X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/273706ae09862364deaa0287a3b563340300fdea..cff4c63713e794672532b10d614e4be01a1f4e48:/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