Schemas I think
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
const mongoose = require("mongoose");
|
||||
const Schema = mongoose.Schema;
|
||||
|
||||
const Wine = new Schema({
|
||||
name: String,
|
||||
vivinoLink: String,
|
||||
rating: Number
|
||||
});
|
||||
|
||||
module.exports = Wine;
|
||||
|
||||
Reference in New Issue
Block a user