diff --git a/front-api/db/schema.rb b/front-api/db/schema.rb index b3ee2a8..2c52d13 100644 --- a/front-api/db/schema.rb +++ b/front-api/db/schema.rb @@ -126,8 +126,8 @@ ActiveRecord::Schema.define(version: 20150414214540) do t.datetime "updated_at", null: false t.string "tags" t.json "traits" - t.decimal "weight", precision: 5, scale: 3 t.integer "supplier_id" + t.decimal "weight", precision: 5, scale: 3 t.integer "delivery_time_estimation_id" t.integer "brand_id" end @@ -197,9 +197,11 @@ ActiveRecord::Schema.define(version: 20150414214540) do end create_table "sub_categories", force: :cascade do |t| - t.string "name" - t.integer "category_id" - t.integer "order" + t.string "name" + t.integer "category_id" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.integer "order" end create_table "suppliers", force: :cascade do |t| diff --git a/front-ui/app/components/items/singleItem.js b/front-ui/app/components/items/singleItem.js index 609da0d..f167541 100644 --- a/front-ui/app/components/items/singleItem.js +++ b/front-ui/app/components/items/singleItem.js @@ -29,7 +29,7 @@ var SingleItem = React.createClass({ else { return ( -