Sha256: 44245a2dbe8e70c37a990bdb61e2d45fd097dc39fde6cbc823bde75cddaa6f1a

Contents?: true

Size: 515 Bytes

Versions: 1

Compression:

Stored size: 515 Bytes

Contents

require 'skr/core/db/migration_helpers'

class CreateSkrInventoryAdjustments < ActiveRecord::Migration
    def change

        create_skr_table "inventory_adjustments" do |t|
            t.skr_visible_id
            t.skr_reference :location,  null: false, single: true
            t.skr_reference :reason,    null: false, to_table: 'ia_reasons'
            t.string   "state",         null: false
            t.text     "description",   null: false
            t.skr_track_modifications
          end

    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stockor-core-0.2 db/migrate/20140322014401_create_skr_inventory_adjustments.rb