scinote-web/db/migrate/20171003082333_add_connections_and_sample_tasks_indexes.rb

7 lines
221 B
Ruby

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