- More, more, more...

This commit is contained in:
2019-07-04 23:06:04 -04:00
parent 6d5d238d34
commit af13551042
16 changed files with 348 additions and 94 deletions

View File

@@ -1,6 +1,5 @@
const mongoose = require('mongoose');
const mongooseStringQuery = require('mongoose-string-query');
const mongooseTimestamps = require('mongoose-timestamp');
const timestamps = require('mongoose-timestamp');
const PhoneSchema = new mongoose.Schema(
{
@@ -23,7 +22,6 @@ const PhoneSchema = new mongoose.Schema(
{ minimize: false },
);
PhoneSchema.plugin(mongooseStringQuery);
PhoneSchema.plugin(mongooseTimestamps);
PhoneSchema.plugin(timestamps);
module.exports = PhoneSchema;