Rename mongoose model serverFps
parent
3234c45047
commit
294f1db552
|
@ -44,4 +44,4 @@ const LogServerFpsSchema = new Schema({
|
|||
// optional more indices
|
||||
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: {
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: 'LogServerFpsSchema',
|
||||
ref: 'LogServerFps',
|
||||
required: false,
|
||||
},
|
||||
travelDistance: {
|
||||
|
|
Loading…
Reference in New Issue