Skip to content

Commit 330914a

Browse files
committed
fix(dal): remove unused composite index from notification template schema
1 parent 27b2155 commit 330914a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libs/dal/src/repositories/notification-template/notification-template.schema.ts

-5
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,6 @@ notificationTemplateSchema.index({
271271
name: 1,
272272
});
273273

274-
notificationTemplateSchema.index({
275-
_environmentId: 1,
276-
'triggers.identifier': 1,
277-
});
278-
279274
notificationTemplateSchema.plugin(mongooseDelete, { deletedAt: true, deletedBy: true, overrideMethods: 'all' });
280275

281276
export const NotificationTemplate =

0 commit comments

Comments
 (0)