class AddConnectionsAndSampleTasksIndexes < ActiveRecord::Migration[4.2] def change add_index :connections, :input_id add_index :connections, :output_id add_index :sample_my_modules, :my_module_id end end