Skip to content

Commit 301af1b

Browse files
Merge pull request #580 from valentinpalkovic/feat-upgrade-to-prisma-4.0
feat: Upgrade to @prisma/x v4.0
2 parents 9036086 + bae2d1b commit 301af1b

File tree

5 files changed

+322
-257
lines changed

5 files changed

+322
-257
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ model User {
105105
number BigInt @default(34534535435353)
106106
favouriteDecimal Decimal
107107
bytes Bytes /// Triple Slash Inline Comment: It will show up in JSON schema [BYTES]
108-
successorId Int?
108+
successorId Int? @unique
109109
successor User? @relation("BlogOwnerHistory", fields: [successorId], references: [id])
110110
predecessor User? @relation("BlogOwnerHistory")
111111
role Role @default(USER)

0 commit comments

Comments
 (0)