fix more connections

This commit is contained in:
Sara Vieira committed 2022-08-17 11:56:05 +02:00
1 parent 536d3a5951
commit 4fb9483f0c
1 file changed
+2 -2
+2 -2
View File
@@ -41,7 +41,7 @@ model User {
image String?
username String?
createdAt DateTime @default(now())
Team Team? @relation(fields: [teamId], references: [id])
team Team? @relation(fields: [teamId], references: [id])
teamId String?
projects Project[]
}
@@ -53,7 +53,7 @@ model Project {
prodTreeId String? // exists when published
devTreeId String
prodTreeIdHistory String @default("[]")
User User? @relation(fields: [userId], references: [id])
user User? @relation(fields: [userId], references: [id])
userId String?
assets Asset[]
}