feat: better indexes
This commit is contained in:
parent
5fddba6e98
commit
b9f3b646fc
2 changed files with 1 additions and 3 deletions
|
|
@ -224,9 +224,6 @@ export class PostsRepository {
|
|||
{
|
||||
organizationId: orgId,
|
||||
},
|
||||
{
|
||||
submittedForOrganizationId: orgId,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ model Organization {
|
|||
users UserOrganization[]
|
||||
webhooks Webhooks[]
|
||||
|
||||
@@index([apiKey])
|
||||
@@index([streakSince])
|
||||
@@index([paymentId])
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue