add new files

This commit is contained in:
Sunandar
2017-01-24 17:45:40 +06:30
parent 2f427ae5b9
commit 2893f33a23
138 changed files with 36367 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
class CreateBatches < ActiveRecord::Migration[5.0]
def change
create_table :batches do |t|
t.datetime :date,:null => false
t.references :user
t.string :order_ref,:null => false
t.boolean :batch_start
t.boolean :batch_end
t.string :created_by,:null => false
t.integer :qty_processing,:null => false
t.integer :qty_success, :null => false
t.integer :qty_fail,:null => false
t.datetime :batch_start_time
t.datetime :batch_end_time
t.integer :export_count
t.string :remark
t.timestamps
end
end
end