Sha256: c3c3a5ffea73f8f16e0157d692e4bbd123dcc4ca1a4bb76ec251197d63a8f95e

Contents?: true

Size: 543 Bytes

Versions: 116

Compression:

Stored size: 543 Bytes

Contents

class AddMoreIndexes < ActiveRecord::Migration
  def change
    add_index :spree_payment_methods, [:id, :type]
    add_index :spree_calculators, [:id, :type]
    add_index :spree_calculators, [:calculable_id, :calculable_type]
    add_index :spree_payments, :payment_method_id
    add_index :spree_promotion_actions, [:id, :type]
    add_index :spree_promotion_actions, :promotion_id
    add_index :spree_promotions, [:id, :type]
    add_index :spree_option_values, :option_type_id
    add_index :spree_shipments, :stock_location_id
  end
end

Version data entries

116 entries across 116 versions & 2 rubygems

Version Path
spree_core-3.1.14 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.13 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.12 db/migrate/20140213184916_add_more_indexes.rb
solidus_core-1.4.2 db/migrate/20140213184916_add_more_indexes.rb
solidus_core-1.3.2 db/migrate/20140213184916_add_more_indexes.rb
solidus_core-1.2.3 db/migrate/20140213184916_add_more_indexes.rb
solidus_core-1.1.4 db/migrate/20140213184916_add_more_indexes.rb
solidus_core-1.0.7 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.11 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.10 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.9 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.8 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.7 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.6 db/migrate/20140213184916_add_more_indexes.rb
solidus_core-1.4.1 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.5 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.4 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.3 db/migrate/20140213184916_add_more_indexes.rb
spree_core-3.1.2 db/migrate/20140213184916_add_more_indexes.rb
solidus_core-1.4.0 db/migrate/20140213184916_add_more_indexes.rb