Sha256: 4bc330b582f56efe8134c19f4e3a99d4b64cfb1082f9462d6881e1ad090ad204

Contents?: true

Size: 236 Bytes

Versions: 35

Compression:

Stored size: 236 Bytes

Contents

class AddAddressesCheckoutsIndexes < ActiveRecord::Migration
  def change
    add_index :addresses, :firstname
    add_index :addresses, :lastname
    add_index :checkouts, :order_id
    add_index :checkouts, :bill_address_id
  end
end

Version data entries

35 entries across 35 versions & 3 rubygems

Version Path
spree_core-1.2.5 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.1.6 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.1.5 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.2.4 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.0.7 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.2.3 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.2.2 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.1.4 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.2.0 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.2.0.rc2 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.2.0.rc1 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.1.3 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.0.6 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_pag_seguro-1.0.7 spec/dummy/db/migrate/20120301154091_add_addresses_checkouts_indexes.rb
spree_core-1.1.2 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_core-1.1.2.rc1 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb
spree_pag_seguro-1.0.6 spec/dummy/db/migrate/20120301154091_add_addresses_checkouts_indexes.rb
spree_pag_seguro-1.0.5 spec/dummy/db/migrate/20120301154091_add_addresses_checkouts_indexes.rb
spree_pag_seguro-1.0.4 spec/dummy/db/migrate/20120301154091_add_addresses_checkouts_indexes.rb
spree_core-1.1.1 db/migrate/20100504142133_add_addresses_checkouts_indexes.rb