houdini/db/migrate/20180216064311_add_indexes_to_supporter_notes.rb
2019-08-02 19:07:29 +02:00

7 lines
190 B
Ruby

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