This commit is contained in:
Archer
2023-12-31 14:12:51 +08:00
committed by GitHub
parent ccca0468da
commit 9ccfda47b7
270 changed files with 8182 additions and 1295 deletions

View File

@@ -29,10 +29,14 @@ const TeamSchema = new Schema({
maxSize: {
type: Number,
default: 5
},
lastDatasetBillTime: {
type: Date
}
});
try {
TeamSchema.index({ lastDatasetBillTime: -1 });
} catch (error) {
console.log(error);
}