edit api
This commit is contained in:
@@ -13,7 +13,7 @@ class CreateBatches < ActiveRecord::Migration[5.0]
|
||||
t.datetime :batch_start_time
|
||||
t.datetime :batch_end_time
|
||||
t.integer :export_count
|
||||
t.string :remark
|
||||
t.string :remark
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
19
db/schema.rb
19
db/schema.rb
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20170121092515) do
|
||||
ActiveRecord::Schema.define(version: 20170126074122) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -27,21 +27,22 @@ ActiveRecord::Schema.define(version: 20170121092515) do
|
||||
end
|
||||
|
||||
create_table "batches", force: :cascade do |t|
|
||||
t.datetime "date", null: false
|
||||
t.datetime "date", null: false
|
||||
t.integer "user_id"
|
||||
t.string "order_ref", null: false
|
||||
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.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.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "adult_or_child", default: "CHILD"
|
||||
t.index ["user_id"], name: "index_batches_on_user_id", using: :btree
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user