Sha256: 1fc20edb14987b51f3045164cda91592e32fc609529624f4317a93ea9b42be94

Contents?: true

Size: 437 Bytes

Versions: 7

Compression:

Stored size: 437 Bytes

Contents

# This migration comes from spree (originally 20091104151730)
class AddSomeIndexes < ActiveRecord::Migration
  def change
    add_index :taxons, :permalink
    add_index :taxons, :parent_id
    add_index :taxons, :taxonomy_id
    add_index :assets, :viewable_id
    add_index :assets, [:viewable_type, :type]
    add_index :product_properties, :product_id
    add_index :option_values_variants, [:variant_id, :option_value_id]
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
spree_mercado_pago_payment_method-0.0.2 spec/dummy/db/migrate/20121121030150_add_some_indexes.spree.rb
spree_mercado_pago_payment_method-0.1.1 spec/dummy/db/migrate/20121121030150_add_some_indexes.spree.rb
spree_mercado_pago_payment_method-0.1.0 spec/dummy/db/migrate/20121121030150_add_some_indexes.spree.rb
datashift_spree-0.3.0 spec/sandbox/db/migrate/20121023154369_add_some_indexes.spree.rb
datashift_spree-0.2.1 spec/sandbox/db/migrate/20121015151162_add_some_indexes.spree.rb
datashift_spree-0.2.0 spec/sandbox/db/migrate/20120925192730_add_some_indexes.spree.rb
datashift_spree-0.1.0 spec/sandbox/db/migrate/20120918081461_add_some_indexes.spree.rb