Sha256: 82cd0152d3b5fa203d4c5ded8850aba4311e7d22977a50771e775b1673a7539f

Contents?: true

Size: 520 Bytes

Versions: 9

Compression:

Stored size: 520 Bytes

Contents

# This migration comes from spree (originally 20160219165458)
class AddIndexes < ActiveRecord::Migration[4.2]
  def change
    add_index :spree_assets, :position
    add_index :spree_option_types, :name
    add_index :spree_option_values, :name
    add_index :spree_prices, :variant_id
    add_index :spree_properties, :name
    add_index :spree_roles, :name
    add_index :spree_shipping_categories, :name
    add_index :spree_taxons, :lft
    add_index :spree_taxons, :rgt
    add_index :spree_taxons, :name
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195932_add_indexes.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091873_add_indexes.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091873_add_indexes.spree.rb
spree_purchase_order-3.6.0 spec/dummy/db/migrate/20180516182061_add_indexes.spree.rb
spree_purchase_order-3.5.0 spec/dummy/db/migrate/20180516182061_add_indexes.spree.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/db/migrate/20180516182061_add_indexes.spree.rb
spree_purchase_order-3.4.0 spec/dummy/db/migrate/20180516182061_add_indexes.spree.rb
spree_purchase_order-3.3.0 spec/dummy/db/migrate/20180516182061_add_indexes.spree.rb
spree_purchase_order-3.2.0 spec/dummy/db/migrate/20180516182061_add_indexes.spree.rb