item price is now saved when added to cart

This commit is contained in:
Senad Uka
2015-03-13 07:56:11 +01:00
parent 648dee4636
commit b2d4122940
4 changed files with 9 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150312073820) do
ActiveRecord::Schema.define(version: 20150313065130) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -69,6 +69,7 @@ ActiveRecord::Schema.define(version: 20150312073820) do
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "count"
t.decimal "price"
end
create_table "items", force: :cascade do |t|