Sha256: eb7ca64b94c398745fecb2655fbbaae1b55e2a7c3f687b3d40e1afca78d62d28
Contents?: true
Size: 553 Bytes
Versions: 2
Compression:
Stored size: 553 Bytes
Contents
# This migration comes from simple_cart (originally 20160312121928) class CreateSimpleCartOrderItem < ActiveRecord::Migration def change create_table "simple_cart_order_items", force: :cascade do |t| t.decimal "price" t.integer "qty" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.integer "itemable_id" t.string "itemable_type" t.string "order_id" end add_index :simple_cart_order_items, :itemable_id add_index :simple_cart_order_items, :order_id end end
Version data entries
2 entries across 2 versions & 1 rubygems