Sha256: e393e6b1717e8c63ce82953c7490713fd24e32fabf2f44985e7f1400407244a8

Contents?: true

Size: 226 Bytes

Versions: 8

Compression:

Stored size: 226 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.15.2 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.16.4 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.15.1 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.16.3 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.16.2 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.16.1 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.16.0 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.15.0 db/migrate/20140916012922_add_indexes_to_model_associations.rb