updated the db schema and team controller

This commit is contained in:
La_Felx
2023-01-03 22:34:30 +01:00
parent e3d22c9063
commit 07c8cc239e
2 changed files with 24 additions and 8 deletions
+1
View File
@@ -67,6 +67,7 @@ model Team {
name String
leaderEmail String
verified Boolean @default(false)
creationDate DateTime @default(now())
roles Role[] @relation(name: "participants")
participants Participant[]