Sha256: 86aaf10c74628038a63bba82435387a4ff868e6251f7c5faba2364275d35800c

Contents?: true

Size: 172 Bytes

Versions: 35

Compression:

Stored size: 172 Bytes

Contents

class CreateIndexesForInventoryUnits < ActiveRecord::Migration
  def change
    add_index :inventory_units, :variant_id
    add_index :inventory_units, :order_id
  end
end

Version data entries

35 entries across 35 versions & 3 rubygems

Version Path
spree_core-1.2.5 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.1.6 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.1.5 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.2.4 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.0.7 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.2.3 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.2.2 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.1.4 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.2.0 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.2.0.rc2 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.2.0.rc1 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.1.3 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.0.6 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_pag_seguro-1.0.7 spec/dummy/db/migrate/20120301154051_create_indexes_for_inventory_units.rb
spree_core-1.1.2 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_core-1.1.2.rc1 db/migrate/20090904192342_create_indexes_for_inventory_units.rb
spree_pag_seguro-1.0.6 spec/dummy/db/migrate/20120301154051_create_indexes_for_inventory_units.rb
spree_pag_seguro-1.0.5 spec/dummy/db/migrate/20120301154051_create_indexes_for_inventory_units.rb
spree_pag_seguro-1.0.4 spec/dummy/db/migrate/20120301154051_create_indexes_for_inventory_units.rb
spree_core-1.1.1 db/migrate/20090904192342_create_indexes_for_inventory_units.rb