test/dummy/db/schema.rb in shoppe-0.0.9 vs test/dummy/db/schema.rb in shoppe-0.0.10

- old
+ new

@@ -9,11 +9,11 @@ # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20131013131658) do +ActiveRecord::Schema.define(version: 20131017144430) do create_table "shoppe_delivery_service_prices", force: true do |t| t.integer "delivery_service_id" t.string "code" t.decimal "price", precision: 8, scale: 2 @@ -112,16 +112,25 @@ t.text "short_description" t.boolean "active", default: true t.decimal "weight", precision: 8, scale: 3, default: 0.0 t.decimal "price", precision: 8, scale: 2, default: 0.0 t.decimal "tax_rate", precision: 8, scale: 2, default: 0.0 - t.integer "stock", default: 0 t.datetime "created_at" t.datetime "updated_at" t.boolean "featured", default: false t.text "in_the_box" t.decimal "cost_price", precision: 8, scale: 2 t.boolean "stock_control", default: true + end + + create_table "shoppe_stock_level_adjustments", force: true do |t| + t.integer "product_id" + t.string "description" + t.integer "adjustment", default: 0 + t.string "parent_type" + t.integer "parent_id" + t.datetime "created_at" + t.datetime "updated_at" end create_table "shoppe_users", force: true do |t| t.string "first_name" t.string "last_name"