chore: Add index to Team.parentId (#13950)

This commit is contained in:
Keith Williams authored and GitHub committed 2024-03-04 15:19:24 -03:00
1 parent 1cc9f1d25d
commit 7f53db601d
2 files changed
+3

No files matched your search

@@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX "Team_parentId_idx" ON "Team"("parentId");
+1
View File
@@ -368,6 +368,7 @@ model Team {
pendingPayment Boolean @default(false)
@@unique([slug, parentId])
@@index([parentId])
}
model OrganizationSettings {