inventory setup
This commit is contained in:
14
db/migrate/20170824110130_create_stock_check_items.rb
Normal file
14
db/migrate/20170824110130_create_stock_check_items.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
class CreateStockCheckItems < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
create_table :stock_check_items do |t|
|
||||
t.integer :stock_check_id, :null => false
|
||||
t.string :item_code, :null => false
|
||||
t.integer :stock_count, :default => 0
|
||||
t.integer :stock_journal_id
|
||||
t.integer :stock_balance
|
||||
t.integer :different
|
||||
t.string :remark
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user