Abheek Dhawan
4 years ago
2 changed files with 18 additions and 4 deletions
@ -0,0 +1,14 @@ |
|||||
|
const mongoose = require("mongoose"); |
||||
|
|
||||
|
const generatedRoundSchema = new mongoose.Schema({ |
||||
|
htmlContent: { |
||||
|
type: String, |
||||
|
required: true, |
||||
|
}, |
||||
|
requestedBy: { |
||||
|
type: String, |
||||
|
required: true, |
||||
|
}, |
||||
|
}); |
||||
|
|
||||
|
module.exports = mongoose.model("GeneratedRounds", generatedRoundSchema); |
Loading…
Reference in new issue