Rename mongoose model serverFps
parent
3234c45047
commit
294f1db552
|
@ -44,4 +44,4 @@ const LogServerFpsSchema = new Schema({
|
||||||
// optional more indices
|
// optional more indices
|
||||||
LogServerFpsSchema.index({war: 1});
|
LogServerFpsSchema.index({war: 1});
|
||||||
|
|
||||||
module.exports = mongoose.model('LogServerFpsSchema', LogServerFpsSchema);
|
module.exports = mongoose.model('LogServerFps', LogServerFpsSchema);
|
||||||
|
|
|
@ -79,7 +79,7 @@ const PlayerSchema = new Schema({
|
||||||
},
|
},
|
||||||
performance: {
|
performance: {
|
||||||
type: mongoose.Schema.Types.ObjectId,
|
type: mongoose.Schema.Types.ObjectId,
|
||||||
ref: 'LogServerFpsSchema',
|
ref: 'LogServerFps',
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
travelDistance: {
|
travelDistance: {
|
||||||
|
|
Loading…
Reference in New Issue