Sha256: 57cb6ab364adf712d644c5e4c07a1cb59207911b5d2484564b1342eca186de91

Contents?: true

Size: 250 Bytes

Versions: 11

Compression:

Stored size: 250 Bytes

Contents

class AddIndexesToShoppeOrderItems < ActiveRecord::Migration
  def change
    add_index :shoppe_order_items, [:ordered_item_id, :ordered_item_type], name: 'index_shoppe_order_items_ordered_item'
    add_index :shoppe_order_items, :order_id
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
shoppe-1.1.2 db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb
shoppe-1.1.1 db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb
shoppe-1.1.0 db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb
shoppe-1.0.9 db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb
shoppe-1.0.8 db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb
kylekthompson-shoppe-1.0.7 db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb
shoppe-1.0.7 db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb
shoppe-1.0.6 db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/shoppe-1.0.5/db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb
shoppe-1.0.5 db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb
shoppe-1.0.3 db/migrate/20141026175622_add_indexes_to_shoppe_order_items.rb