]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/048_add_diary_creation_indexes.rb
Disable eslint for js test files to test for github-ci
[rails.git] / db / migrate / 048_add_diary_creation_indexes.rb
index d99831a3a6402f194ec170514a52006177f2ca75..36390255bcab1500399df7aa520cd1169d3f5004 100644 (file)
@@ -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"
   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"