Uniquely index event-type with teamId and slug (#2452)

This commit is contained in:
Afzal Sayed
2022-04-20 06:05:12 +05:30
committed by GitHub
parent 8f3b854559
commit 00a3ff89e4
2 changed files with 10 additions and 0 deletions

View File

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