mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-10 16:28:17 +03:00
Add index for user-private-information
This commit is contained in:
Vendored
+1
@@ -90,6 +90,7 @@ const staticIndexes: Partial<Record<Databases, Index[]>> = {
|
||||
index({ timestamp: 1 }, { expireAfterSeconds: ONE_DAY / 1000 }),
|
||||
],
|
||||
"user-settings": [index({ userID: 1 }, UNIQUE)],
|
||||
"user-private-information": [index({ userID: 1 }, UNIQUE)],
|
||||
};
|
||||
|
||||
const indexes: Partial<Record<Databases, Index[]>> = staticIndexes;
|
||||
|
||||
Reference in New Issue
Block a user