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

This commit is contained in:
Keith Williams
2024-03-04 15:19:24 -03:00
committed by GitHub
parent 1cc9f1d25d
commit 7f53db601d
2 changed files with 3 additions and 0 deletions
@@ -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 {