Sha256: d3d8ddaf5a1ea756f02893f92e9687d09ede2182128af4f18276df04287eb909

Contents?: true

Size: 605 Bytes

Versions: 14

Compression:

Stored size: 605 Bytes

Contents

# This migration comes from spree (originally 20140213184916)
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

14 entries across 14 versions & 7 rubygems

Version Path
spree_weight_calculator-0.1.0 test/dummy/db/migrate/20160723192559_add_more_indexes.spree.rb
spree_order_reporting-0.0.3 spec/dummy/db/migrate/20160708163156_add_more_indexes.spree.rb
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103480_add_more_indexes.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112432_add_more_indexes.spree.rb
sprangular-0.1.0 spec/dummy/db/migrate/20140814105758_add_more_indexes.spree.rb
sprangular-0.0.1 spec/dummy/db/migrate/20140814105758_add_more_indexes.spree.rb
spree_mercado_pago-0.2.3 spec/dummy/db/migrate/20141204014751_add_more_indexes.spree.rb
spree_mercado_pago-0.2.2 spec/dummy/db/migrate/20141204014751_add_more_indexes.spree.rb
spree_mercado_pago-0.2.1 spec/dummy/db/migrate/20141112193534_add_more_indexes.spree.rb
spree_mercado_pago-0.2.0 spec/dummy/db/migrate/20141112193534_add_more_indexes.spree.rb
spree_mercado_pago_payment_method-0.2.0 spec/dummy/db/migrate/20141112193534_add_more_indexes.spree.rb
spree_bitpay-1.0.2 spec/dummy/db/migrate/20141002181330_add_more_indexes.spree.rb
bcms_spree-0.0.2 test/dummy/db/migrate/20140915222669_add_more_indexes.spree.rb
bcms_spree-0.0.1 test/dummy/db/migrate/20140915222669_add_more_indexes.spree.rb