houdini/db/migrate/20180216064311_add_indexes_to_supporter_notes.rb
2019-11-14 14:52:29 -06:00

7 lines
195 B
Ruby

# frozen_string_literal: true
class AddIndexesToSupporterNotes < ActiveRecord::Migration[4.2]
def change
add_index :supporter_notes, :supporter_id, order: { supporter_id: :asc }
end
end