feat(mongoose): upgrade mongoose to 5.0.17 to support Schema.Types.Decimal128

This commit is contained in:
OldHawk
2018-05-06 22:22:02 +08:00
parent e3be2dbede
commit 3b5c879a28
3 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ var UserDaysLogSchema = new Schema({
default: 0
},
score: {
type: Number,
type: Schema.Types.Decimal128,
default: 0
},
createdAt: {

View File

@@ -31,7 +31,7 @@ var UserMonthsLogSchema = new Schema({
default: 0
},
score: {
type: Number,
type: Schema.Types.Decimal128,
default: 0
},
createdAt: {