Sha256: 87eabeda115fcb33e6a0de8e915f6adea6da75e7134aefb56471781d96280881
Contents?: true
Size: 721 Bytes
Versions: 1
Compression:
Stored size: 721 Bytes
Contents
require 'skr/db/migration_helpers' class CreateSkrPurchaseOrders < ActiveRecord::Migration def change create_skr_table "purchase_orders" do |t| t.skr_visible_id t.skr_reference :vendor, single: true t.skr_reference :location, single: true t.skr_reference :ship_addr, to_table: 'addresses' t.skr_reference :terms, to_table: 'payment_terms' t.integer "state", null: false, limit: 2 t.boolean "is_revised", null: false, default: false t.date "order_date", null: false t.datetime "receiving_completed_at" t.skr_track_modifications end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-0.1.8 | db/migrate/20140327202102_create_skr_purchase_orders.rb |