This commit is contained in:
Sunandar
2017-02-08 18:11:45 +06:30
parent 43ada02033
commit 9dc6fd3cbe
8 changed files with 46 additions and 23 deletions

View File

@@ -2,12 +2,12 @@ class CreateBatchLineItems < ActiveRecord::Migration[5.0]
def change
create_table :batch_line_items do |t|
t.references :batch
t.string :serial_no , null: false
t.string :asset_identity , null: false
t.string :manufacture_uid ,null:false
t.string :asset_type,:default => "child"
t.datetime :encoded_at
t.datetime :verified_at
t.string :serial_no , null: false
t.string :asset_identity , null: false
t.string :manufacture_uid ,null:false
t.string :asset_type,:default => "child"
t.datetime :encoded_at
t.datetime :verified_at
t.timestamps null: false
end
end