proton-model
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -46,4 +46,4 @@ 'use strict' | ||
const constructor = this.constructor | ||
this._schema = new this.mongoose.Schema(this.schema(), {}) | ||
console.log('Schema',this.mongoose.Schema,this._schema) | ||
this._schema = this.mongoose.Schema(this.schema()) | ||
console.log('Schema', this.mongoose.Schema, this._schema) | ||
this._createStaticMethods(constructor) | ||
@@ -50,0 +50,0 @@ this._createInstanceMethods(prototype) |
{ | ||
"name": "proton-model", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3515