Sha256: cf5c4ad8a9ae478a10da90ab107bbf69148f1b60d1390349feea2aff3a17046c

Contents?: true

Size: 482 Bytes

Versions: 5

Compression:

Stored size: 482 Bytes

Contents

require 'skr/db/migration_helpers'

class CreateSkrInventoryAdjustments < ActiveRecord::Migration
    def change

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

    end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stockor-0.5.0 db/migrate/20140322014401_create_skr_inventory_adjustments.rb
stockor-0.4.0 db/migrate/20140322014401_create_skr_inventory_adjustments.rb
stockor-0.3.0 db/migrate/20140322014401_create_skr_inventory_adjustments.rb
stockor-0.2 db/migrate/20140322014401_create_skr_inventory_adjustments.rb
stockor-0.1.9 db/migrate/20140322014401_create_skr_inventory_adjustments.rb