mirror of
https://github.com/detleph/server.git
synced 2026-09-04 08:36:06 +02:00
HOTFIX: Name of uuid function
The prisma schema didn't compile with the previous schema
This commit is contained in:
@@ -107,7 +107,7 @@ model Participant {
|
|||||||
|
|
||||||
model Role {
|
model Role {
|
||||||
id Int @id @default(autoincrement())
|
id Int @id @default(autoincrement())
|
||||||
pid String @unique @default(dbgenerated("gen_random"))
|
pid String @unique @default(dbgenerated("gen_random_uuid()"))
|
||||||
score String
|
score String
|
||||||
|
|
||||||
participant Participant? @relation(fields: [participantId], references: [id], onDelete: SetNull)
|
participant Participant? @relation(fields: [participantId], references: [id], onDelete: SetNull)
|
||||||
|
|||||||
Reference in New Issue
Block a user