front-end almost done | started back-end
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
const mongoose = require('mongoose')
|
||||
|
||||
const Cart_ItemSchema = mongoose.Schema({
|
||||
user_id: String,
|
||||
product_id: String,
|
||||
quantity: String,
|
||||
created_at: String,
|
||||
updated_at: String
|
||||
})
|
||||
|
||||
module.exports = mongoose.model('Cart_Item', Cart_ItemSchema)
|
||||
Reference in New Issue
Block a user