1
0

20140602014917_add_indices_to_scenarios.rb 235 B

1234567
  1. class AddIndicesToScenarios < ActiveRecord::Migration
  2. def change
  3. add_index :scenarios, [:user_id, :guid], :unique => true
  4. add_index :scenario_memberships, :agent_id
  5. add_index :scenario_memberships, :scenario_id
  6. end
  7. end