Sha256: ff6c4ec91c27a3aac5853db351e281db91a8de9248741b4cd1fd00ed790da88b

Contents?: true

Size: 223 Bytes

Versions: 9

Compression:

Stored size: 223 Bytes

Contents

class AddIndexesToModelAssociations < ActiveRecord::Migration
  def change
    add_index :contact_opportunities, [:contact_id, :opportunity_id]
    add_index :account_opportunities, [:account_id, :opportunity_id]
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.14.1 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.15.0.beta.2 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.15.0.beta db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.14.0 db/migrate/20140916012922_add_indexes_to_model_associations.rb
reduced_fat_crm-0.15.0.beta db/migrate/20140916012922_add_indexes_to_model_associations.rb
reduced_fat_crm-0.14.0 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.13.6 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.13.5 db/migrate/20140916012922_add_indexes_to_model_associations.rb