Skip to content

Commit

Permalink
Revert "feat: unique indexing"
Browse files Browse the repository at this point in the history
This reverts commit b7011db.
  • Loading branch information
Pratap2018 committed Apr 27, 2024
1 parent b7011db commit b0a3f4f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/user-vault/schemas/doucment.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,5 @@ export class DocSchema {
export const DoucmentSchema = SchemaFactory.createForClass(DocSchema);

DoucmentSchema.index({ "id": 1 }, { unique: true, background:true, });
DoucmentSchema.index({ 'indexed.attributes.0.value': 1 }, { unique: true });


0 comments on commit b0a3f4f

Please sign in to comment.