barcode update

This commit is contained in:
nandar
2018-07-26 09:33:05 +06:30
parent 8dc9ab0fbe
commit 004f801f71
15 changed files with 284 additions and 158 deletions

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20180627041112) do
ActiveRecord::Schema.define(version: 20180724072431) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -27,29 +27,34 @@ ActiveRecord::Schema.define(version: 20180627041112) do
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "security_code"
t.string "barcode"
t.boolean "is_activated", default: false
t.datetime "activated_date"
t.index ["batch_id"], name: "index_batch_line_items_on_batch_id", using: :btree
end
create_table "batches", force: :cascade do |t|
t.datetime "date", null: false
t.datetime "date", null: false
t.integer "user_id"
t.integer "client_id"
t.string "order_ref", null: false
t.string "order_ref", null: false
t.boolean "batch_start"
t.boolean "batch_end"
t.string "exported_by", null: false
t.integer "qty_processing", null: false
t.integer "qty_success", null: false
t.integer "qty_fail", null: false
t.string "exported_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.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "adult_or_child", default: "CHILD"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "adult_or_child", default: "CHILD"
t.integer "product_category_id"
t.integer "generated_qty"
t.integer "export_to_seller_id"
t.datetime "export_to_seller_date"
t.index ["client_id"], name: "index_batches_on_client_id", using: :btree
t.index ["product_category_id"], name: "index_batches_on_product_category_id", using: :btree
t.index ["user_id"], name: "index_batches_on_user_id", using: :btree
@@ -125,6 +130,7 @@ ActiveRecord::Schema.define(version: 20180627041112) do
t.string "address"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "user_type"
end
end