Merge branch 'main' into enterprise-license

staging
kodiakhq[bot] 2022-04-20 00:36:38 +00:00 committed by GitHub
commit 17763aca61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
/*
Warnings:
- A unique constraint covering the columns `[teamId,slug]` on the table `EventType` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "EventType_teamId_slug_key" ON "EventType"("teamId", "slug");

View File

@ -72,6 +72,7 @@ model EventType {
successRedirectUrl String?
@@unique([userId, slug])
@@unique([teamId, slug])
}
model Credential {