add migration

This commit is contained in:
nandar
2018-06-28 17:43:58 +06:30
parent f03719f1b7
commit 8dc9ab0fbe
3 changed files with 21 additions and 3 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: 20180226100816) do
ActiveRecord::Schema.define(version: 20180627041112) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -49,6 +49,7 @@ ActiveRecord::Schema.define(version: 20180226100816) do
t.datetime "updated_at", null: false
t.string "adult_or_child", default: "CHILD"
t.integer "product_category_id"
t.integer "generated_qty"
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