Sha256: e5af0798679c597a55ab02fe8ce23c113db08870a2574b502d9ba5ab76661e47
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
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
3 entries across 3 versions & 1 rubygems