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