fix: relation constraint
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s

This commit is contained in:
Methapon2001 2025-06-30 16:13:57 +07:00
parent a69962db48
commit 1a33080ac8

View file

@ -370,7 +370,7 @@ model UserImportNationality {
id String @id @default(cuid())
name String
user User @relation(fields: [userId], references: [id])
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
userId String
}