|
@ -1,4 +1,4 @@ |
|
|
const mongoose = require("mongoose"); |
|
|
const mongoose = require('mongoose'); |
|
|
|
|
|
|
|
|
const generatedRoundSchema = new mongoose.Schema({ |
|
|
const generatedRoundSchema = new mongoose.Schema({ |
|
|
htmlContent: { |
|
|
htmlContent: { |
|
@ -16,7 +16,7 @@ const generatedRoundSchema = new mongoose.Schema({ |
|
|
timestamp: { |
|
|
timestamp: { |
|
|
type: String, |
|
|
type: String, |
|
|
required: true, |
|
|
required: true, |
|
|
} |
|
|
}, |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
module.exports = mongoose.model("GeneratedRounds", generatedRoundSchema); |
|
|
module.exports = mongoose.model('GeneratedRounds', generatedRoundSchema); |
|
|