add new files
This commit is contained in:
12
db/migrate/20170121053223_create_batch_line_items.rb
Normal file
12
db/migrate/20170121053223_create_batch_line_items.rb
Normal file
@@ -0,0 +1,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 :wristband_code , null: false
|
||||
t.string :manufacture_uid ,null:false
|
||||
t.string :card_type,:default => "child"
|
||||
t.timestamps null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user