Skip to content

Commit f45b32d

Browse files
committed
Remove unique index on employeeNumber and employeeType from inetOrgPerson schema
1 parent 188589f commit f45b32d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/management/identities/_schemas/_parts/inetOrgPerson.part.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,4 @@ export class inetOrgPerson extends Document {
7979
// public userPassword?: string;
8080
}
8181

82-
export const inetOrgPersonSchema = SchemaFactory.createForClass(inetOrgPerson).index(
83-
{ employeeNumber: 1, employeeType: 1 },
84-
{ unique: true },
85-
);
82+
export const inetOrgPersonSchema = SchemaFactory.createForClass(inetOrgPerson);

0 commit comments

Comments
 (0)