houdini/db/migrate/20171207191712_add_index_to_activities.rb

6 lines
158 B
Ruby

class AddIndexToActivities < ActiveRecord::Migration
def change
add_index :activities, :supporter_id
add_index :activities, :nonprofit_id
end
end