mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-06 17:22:06 +00:00
Correct name of expireAfterSeconds index
This commit is contained in:
parent
62d544ccfc
commit
e70f121461
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ ProjectInviteSchema = new Schema(
|
|||
sendingUserId: ObjectId
|
||||
projectId: ObjectId
|
||||
privileges: String
|
||||
createdAt: {type: Date, default: Date.now, index: {expiresAfterSeconds: THIRTY_DAYS_IN_SECONDS}}
|
||||
createdAt: {type: Date, default: Date.now, index: {expireAfterSeconds: THIRTY_DAYS_IN_SECONDS}}
|
||||
},
|
||||
{
|
||||
collection: 'projectInvites'
|
||||
|
|
Loading…
Add table
Reference in a new issue