]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/048_add_diary_creation_indexes.rb
Resolve erb_lint deprecations
[rails.git] / db / migrate / 048_add_diary_creation_indexes.rb
index 54edfe0659b3af3908f6544d8d02233c39737295..36390255bcab1500399df7aa520cd1169d3f5004 100644 (file)
@@ -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"
   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"