houdini/db/migrate/20171207191712_add_index_to_activities.rb

7 lines
158 B
Ruby
Raw Normal View History

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