Sha256: 9bfe53dc163e16ed7d442e7530aa0ae7a71fcf42539da4529228983844e4acb3

Contents?: true

Size: 454 Bytes

Versions: 8

Compression:

Stored size: 454 Bytes

Contents

require 'skr/db/migration_helpers'

class CreateSkrPaymentTerms < ActiveRecord::Migration
    def change

        create_skr_table "payment_terms" do |t|
            t.skr_code_identifier
            t.integer  "days",             null: false, :default=>0
            t.string   "description",      null: false
            t.integer  "discount_days"
            t.string   "discount_amount"
            t.skr_track_modifications
        end

    end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
stockor-0.5.0 db/migrate/20140213040608_create_skr_payment_terms.rb
stockor-0.4.0 db/migrate/20140213040608_create_skr_payment_terms.rb
stockor-0.3.0 db/migrate/20140213040608_create_skr_payment_terms.rb
stockor-0.2 db/migrate/20140213040608_create_skr_payment_terms.rb
stockor-0.1.9 db/migrate/20140213040608_create_skr_payment_terms.rb
stockor-0.1.8 db/migrate/20140213040608_create_skr_payment_terms.rb
stockor-0.1.7 db/migrate/20140213040608_create_skr_payment_terms.rb
stockor-0.1.5 db/migrate/20140213040608_create_skr_payment_terms.rb