1 2 3 4 5
class AddNotesIndexUpdatedAt < ActiveRecord::Migration def change add_index :notes, :updated_at end end