mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-03 18:51:09 +01: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: {
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
"mocha": "~3.4.2",
|
||||
"moment": "^2.18.1",
|
||||
"mongodb-backup": "^1.6.9",
|
||||
"mongoose": "^4.13.7",
|
||||
"mongoose": "^5.0.17",
|
||||
"morgan": "~1.8.1",
|
||||
"moviedb": "^0.2.10",
|
||||
"multer": "~1.3.0",
|
||||
|
||||
Reference in New Issue
Block a user