Sha256: a47a42f25f7179acb61c4f3166122d10544eec81188f36a01dafa31f9f9449f6

Contents?: true

Size: 610 Bytes

Versions: 9

Compression:

Stored size: 610 Bytes

Contents

# This migration comes from spree (originally 20140213184916)
class AddMoreIndexes < ActiveRecord::Migration[4.2]
  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

9 entries across 9 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195837_add_more_indexes.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091778_add_more_indexes.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091778_add_more_indexes.spree.rb
spree_purchase_order-3.6.0 spec/dummy/db/migrate/20180516181966_add_more_indexes.spree.rb
spree_purchase_order-3.5.0 spec/dummy/db/migrate/20180516181966_add_more_indexes.spree.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/db/migrate/20180516181966_add_more_indexes.spree.rb
spree_purchase_order-3.4.0 spec/dummy/db/migrate/20180516181966_add_more_indexes.spree.rb
spree_purchase_order-3.3.0 spec/dummy/db/migrate/20180516181966_add_more_indexes.spree.rb
spree_purchase_order-3.2.0 spec/dummy/db/migrate/20180516181966_add_more_indexes.spree.rb