Add rails version number to migrations
[rails.git] / db / migrate / 048_add_diary_creation_indexes.rb
index d99831a3a6402f194ec170514a52006177f2ca75..54edfe0659b3af3908f6544d8d02233c39737295 100644 (file)
@@ -1,4 +1,4 @@
-class AddDiaryCreationIndexes < ActiveRecord::Migration
+class AddDiaryCreationIndexes < ActiveRecord::Migration[5.0]
   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"