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',
|
collection: 'logBudget',
|
||||||
|
versionKey: false
|
||||||
});
|
});
|
||||||
// optional more indices
|
// optional more indices
|
||||||
LogBudgetSchema.index({war: 1});
|
LogBudgetSchema.index({war: 1});
|
||||||
|
|
|
@ -28,6 +28,7 @@ const LogFlagSchema = new Schema({
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
collection: 'logFlag',
|
collection: 'logFlag',
|
||||||
|
versionKey: false
|
||||||
});
|
});
|
||||||
// optional more indices
|
// optional more indices
|
||||||
LogFlagSchema.index({war: 1, player: 1});
|
LogFlagSchema.index({war: 1, player: 1});
|
||||||
|
|
|
@ -40,6 +40,7 @@ const LogKillSchema = new Schema({
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
collection: 'logKill',
|
collection: 'logKill',
|
||||||
|
versionKey: false
|
||||||
});
|
});
|
||||||
// optional more indices
|
// optional more indices
|
||||||
LogKillSchema.index({war: 1, shooter: 1, target: 1});
|
LogKillSchema.index({war: 1, shooter: 1, target: 1});
|
||||||
|
|
|
@ -27,6 +27,7 @@ const LogPlayerCountSchema = new Schema({
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
collection: 'logPlayerCount',
|
collection: 'logPlayerCount',
|
||||||
|
versionKey: false
|
||||||
});
|
});
|
||||||
// optional more indices
|
// optional more indices
|
||||||
LogPlayerCountSchema.index({war: 1});
|
LogPlayerCountSchema.index({war: 1});
|
||||||
|
|
|
@ -32,6 +32,7 @@ const LogKillSchema = new Schema({
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
collection: 'logPoints',
|
collection: 'logPoints',
|
||||||
|
versionKey: false
|
||||||
});
|
});
|
||||||
// optional more indices
|
// optional more indices
|
||||||
LogKillSchema.index({war: 1, shooter: 1, target: 1});
|
LogKillSchema.index({war: 1, shooter: 1, target: 1});
|
||||||
|
|
|
@ -19,6 +19,7 @@ const LogRespawnSchema = new Schema({
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
collection: 'logRespawn',
|
collection: 'logRespawn',
|
||||||
|
versionKey: false
|
||||||
});
|
});
|
||||||
// optional more indices
|
// optional more indices
|
||||||
LogRespawnSchema.index({war: 1, player: 1});
|
LogRespawnSchema.index({war: 1, player: 1});
|
||||||
|
|
|
@ -32,6 +32,7 @@ const LogReviveSchema = new Schema({
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
collection: 'logRevive',
|
collection: 'logRevive',
|
||||||
|
versionKey: false
|
||||||
});
|
});
|
||||||
// optional more indices
|
// optional more indices
|
||||||
LogReviveSchema.index({war: 1, medic: 1});
|
LogReviveSchema.index({war: 1, medic: 1});
|
||||||
|
|
|
@ -34,6 +34,7 @@ const LogTransportSchema = new Schema({
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
collection: 'logTransport',
|
collection: 'logTransport',
|
||||||
|
versionKey: false
|
||||||
});
|
});
|
||||||
// optional more indices
|
// optional more indices
|
||||||
LogTransportSchema.index({war: 1, driver: 1});
|
LogTransportSchema.index({war: 1, driver: 1});
|
||||||
|
|
|
@ -41,6 +41,7 @@ const LogVehicleKillSchema = new Schema({
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
collection: 'logVehicle',
|
collection: 'logVehicle',
|
||||||
|
versionKey: false
|
||||||
});
|
});
|
||||||
// optional more indices
|
// optional more indices
|
||||||
LogVehicleKillSchema.index({war: 1, shooter: 1, target: 1});
|
LogVehicleKillSchema.index({war: 1, shooter: 1, target: 1});
|
||||||
|
|
Loading…
Reference in New Issue