Sha256: 4204f136c35b22c68c3d775a7ee16e1b54c15da6804fda35821b0049fe03b0f0
Contents?: true
Size: 630 Bytes
Versions: 3
Compression:
Stored size: 630 Bytes
Contents
require 'skr/db/migration_helpers' class CreateSkrVouchers < ActiveRecord::Migration def change create_skr_table "vouchers" do |t| t.skr_visible_id t.skr_reference :vendor, single: true, null: false t.skr_reference :purchase_order, single: true, null: true t.skr_reference :terms, to_table: 'payment_terms' t.string "state", null: false t.string "refno" t.date "confirmation_date", null: true # starts out as non-confirmed t.skr_track_modifications end end end
Version data entries
3 entries across 3 versions & 1 rubygems