Remove Index VisualID
MODIFY
src/storage/mongodb/MongoDBStorage.ts
src/storage/mongodb/MongoDBStorage.ts
@@ -104,8 +104,7 @@ export default class MongoDBStorage {
await this.handleIndexesInCollection(tenantID, 'tags', [
{ fields: { deleted: 1, createdOn: 1 } },
{ fields: { issuer: 1, createdOn: 1 } },
- { fields: { userID: 1, issuer: 1 } },
- { fields: { visualID: 1 }, options: { unique: true } }
+ { fields: { userID: 1, issuer: 1 } }
]);
// Sites/Users
await this.handleIndexesInCollection(tenantID, 'siteusers', [

Remove Index VisualID