no message
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
const Mongoose = require('mongoose');
|
||||
|
||||
const DetailSchema = new Mongoose.Schema({
|
||||
module.exports = {
|
||||
"about": { type: String },
|
||||
"age": { type: Number, index: true },
|
||||
"body": { type: String },
|
||||
@@ -19,11 +17,4 @@ const DetailSchema = new Mongoose.Schema({
|
||||
"status": { type: String },
|
||||
"tested": { type: Date },
|
||||
"tribe": { type: String }
|
||||
});
|
||||
|
||||
const DetailModel = Mongoose.model('details', DetailSchema);
|
||||
|
||||
module.exports = {
|
||||
schema: DetailSchema,
|
||||
model: DetailModel
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user