Sha256: dbd49d267808527760fa773f910064dd1af38a039672b22184af06539da27323
Contents?: true
Size: 350 Bytes
Versions: 1
Compression:
Stored size: 350 Bytes
Contents
class CreateBodegaOrders < ActiveRecord::Migration def change create_table :bodega_orders do |t| t.belongs_to :customer, polymorphic: true t.string :identifier, limit: 20 t.string :payment_id t.integer :subtotal_in_cents t.integer :tax_in_cents t.integer :total_in_cents t.timestamps end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bodega-0.2.0 | db/migrate/20121111170337_create_bodega_orders.rb |