X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/29a780eb1af9ca5f8b55e53cf89701b297707607..3c3a499e93a3b26d5affc9fe9ebc78d35c5571e0:/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 54edfe065..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[5.0] +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"