dragonroll/server/models/Concept.js

11 lines
311 B
JavaScript
Raw Normal View History

2024-09-06 13:27:00 +00:00
const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const ConceptSchema = new Schema({
name: {type: String, required: true},
system: {type: String, required: true},
type: { type: String },
data: { type: Object },
});
module.exports = mongoose.model('Concept', ConceptSchema);