Sha256: 927b97ad7fa6d3e383d37728ee6c76abf716b0609a4be294cfa7f00b3f6243c6

Contents?: true

Size: 257 Bytes

Versions: 13

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true

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

13 entries across 13 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.22.0 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.21.0 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.20.1 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.20.0 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.19.2 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.19.0 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.18.2 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.17.3 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.18.1 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.18.0 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.17.2 db/migrate/20140916012922_add_indexes_to_model_associations.rb
fat_free_crm-0.17.1 db/migrate/20140916012922_add_indexes_to_model_associations.rb