X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6e5f284135aa2aabd3d400921caec8c5a9073c68..c0bdcd53d2c04638a7490400e2abb43c88fe99ad:/db/migrate/048_add_diary_creation_indexes.rb diff --git a/db/migrate/048_add_diary_creation_indexes.rb b/db/migrate/048_add_diary_creation_indexes.rb index d99831a3a..36390255b 100644 --- a/db/migrate/048_add_diary_creation_indexes.rb +++ b/db/migrate/048_add_diary_creation_indexes.rb @@ -1,4 +1,4 @@ -class AddDiaryCreationIndexes < ActiveRecord::Migration +class AddDiaryCreationIndexes < ActiveRecord::Migration[4.2] def self.up add_index :diary_entries, [:created_at], :name => "diary_entry_created_at_index" add_index :diary_entries, [:user_id, :created_at], :name => "diary_entry_user_id_created_at_index"