remove version key from db log entries
parent
3c02c353e7
commit
de05260298
Binary file not shown.
|
@ -32,6 +32,7 @@ const LogBudgetSchema = new Schema({
|
|||
},
|
||||
}, {
|
||||
collection: 'logBudget',
|
||||
versionKey: false
|
||||
});
|
||||
// optional more indices
|
||||
LogBudgetSchema.index({war: 1});
|
||||
|
|
|
@ -28,6 +28,7 @@ const LogFlagSchema = new Schema({
|
|||
},
|
||||
}, {
|
||||
collection: 'logFlag',
|
||||
versionKey: false
|
||||
});
|
||||
// optional more indices
|
||||
LogFlagSchema.index({war: 1, player: 1});
|
||||
|
|
|
@ -40,6 +40,7 @@ const LogKillSchema = new Schema({
|
|||
},
|
||||
}, {
|
||||
collection: 'logKill',
|
||||
versionKey: false
|
||||
});
|
||||
// optional more indices
|
||||
LogKillSchema.index({war: 1, shooter: 1, target: 1});
|
||||
|
|
|
@ -27,6 +27,7 @@ const LogPlayerCountSchema = new Schema({
|
|||
},
|
||||
}, {
|
||||
collection: 'logPlayerCount',
|
||||
versionKey: false
|
||||
});
|
||||
// optional more indices
|
||||
LogPlayerCountSchema.index({war: 1});
|
||||
|
|
|
@ -32,6 +32,7 @@ const LogKillSchema = new Schema({
|
|||
},
|
||||
}, {
|
||||
collection: 'logPoints',
|
||||
versionKey: false
|
||||
});
|
||||
// optional more indices
|
||||
LogKillSchema.index({war: 1, shooter: 1, target: 1});
|
||||
|
|
|
@ -19,6 +19,7 @@ const LogRespawnSchema = new Schema({
|
|||
},
|
||||
}, {
|
||||
collection: 'logRespawn',
|
||||
versionKey: false
|
||||
});
|
||||
// optional more indices
|
||||
LogRespawnSchema.index({war: 1, player: 1});
|
||||
|
|
|
@ -32,6 +32,7 @@ const LogReviveSchema = new Schema({
|
|||
},
|
||||
}, {
|
||||
collection: 'logRevive',
|
||||
versionKey: false
|
||||
});
|
||||
// optional more indices
|
||||
LogReviveSchema.index({war: 1, medic: 1});
|
||||
|
|
|
@ -34,6 +34,7 @@ const LogTransportSchema = new Schema({
|
|||
},
|
||||
}, {
|
||||
collection: 'logTransport',
|
||||
versionKey: false
|
||||
});
|
||||
// optional more indices
|
||||
LogTransportSchema.index({war: 1, driver: 1});
|
||||
|
|
|
@ -41,6 +41,7 @@ const LogVehicleKillSchema = new Schema({
|
|||
},
|
||||
}, {
|
||||
collection: 'logVehicle',
|
||||
versionKey: false
|
||||
});
|
||||
// optional more indices
|
||||
LogVehicleKillSchema.index({war: 1, shooter: 1, target: 1});
|
||||
|
|
Loading…
Reference in New Issue