7 lines
158 B
Ruby
7 lines
158 B
Ruby
|
class AddIndexToActivities < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_index :activities, :supporter_id
|
||
|
add_index :activities, :nonprofit_id
|
||
|
end
|
||
|
end
|