11 lines
341 B
JavaScript
11 lines
341 B
JavaScript
|
|
const mongoose = require('mongoose');
|
||
|
|
const Schema = mongoose.Schema;
|
||
|
|
|
||
|
|
const rpgwalkcategorySchema = new Schema({
|
||
|
|
Category_Name :String,
|
||
|
|
Category_Value :String,
|
||
|
|
DateofRegistration:Date
|
||
|
|
});
|
||
|
|
|
||
|
|
const newRpgwalkcategoryEntry = mongoose.model('rpgwalkcategory', rpgwalkcategorySchema);
|
||
|
|
module.exports = newRpgwalkcategoryEntry;
|