We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c35641a + 3e3fe39 commit 2f76d59Copy full SHA for 2f76d59
backend/src/database.ts
@@ -245,6 +245,9 @@ class Database {
245
seatsSchema.index({ org: 1, createdAt: 1 });
246
seatsSchema.index({ assignee: 1, last_activity_at: 1 });
247
seatsSchema.index({ last_activity_at: 1, createdAt: 1 });
248
+ seatsSchema.index({ team: 1, member: 1 }, { unique: true });
249
+ seatsSchema.index({ createdAt: 1 });
250
+ seatsSchema.index({ queryAt: 1 });
251
252
mongoose.model('Seats', seatsSchema);
253
0 commit comments