scinote-web/db/migrate/20171003082333_add_connections_and_sample_tasks_indexes.rb
2017-10-06 12:43:27 +02:00

8 lines
216 B
Ruby

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