Sha256: e0addab40940b1c6e0068a6ed6d2a61444137b143af5a1f9fb7f5209fa558d92
Contents?: true
Size: 364 Bytes
Versions: 1
Compression:
Stored size: 364 Bytes
Contents
class CreateBodegaOrderProducts < ActiveRecord::Migration def change create_table :bodega_order_products do |t| t.belongs_to :order t.belongs_to :product, polymorphic: true t.integer :quantity t.integer :price_in_cents t.integer :subtotal_in_cents t.integer :tax_in_cents t.integer :total_in_cents end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bodega-0.2.0 | db/migrate/20121111170420_create_bodega_order_products.rb |