feat: better indexes

This commit is contained in:
Nevo David 2026-02-20 12:30:31 +07:00
parent 5fddba6e98
commit b9f3b646fc
2 changed files with 1 additions and 3 deletions

View file

@ -224,9 +224,6 @@ export class PostsRepository {
{
organizationId: orgId,
},
{
submittedForOrganizationId: orgId,
},
],
},
{

View file

@ -42,6 +42,7 @@ model Organization {
users UserOrganization[]
webhooks Webhooks[]
@@index([apiKey])
@@index([streakSince])
@@index([paymentId])
}