houdini/db/migrate/20180216064311_add_indexes_to_supporter_notes.rb

8 lines
190 B
Ruby
Raw Normal View History

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