mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-06 08:36:06 +02:00
feat(mongoose): upgrade mongoose to 5.0.17 to support Schema.Types.Decimal128
This commit is contained in:
@@ -35,7 +35,7 @@ var UserDaysLogSchema = new Schema({
|
||||
default: 0
|
||||
},
|
||||
score: {
|
||||
type: Number,
|
||||
type: Schema.Types.Decimal128,
|
||||
default: 0
|
||||
},
|
||||
createdAt: {
|
||||
|
||||
@@ -31,7 +31,7 @@ var UserMonthsLogSchema = new Schema({
|
||||
default: 0
|
||||
},
|
||||
score: {
|
||||
type: Number,
|
||||
type: Schema.Types.Decimal128,
|
||||
default: 0
|
||||
},
|
||||
createdAt: {
|
||||
|
||||
Reference in New Issue
Block a user