To create One-to-many relationship in Prisma, you have to make sure that the model, that has to be unique has @unique in a model.
model Person {
id String @unique @default(cuid())
name String
phoneNumbers PhoneNumber[]
}
model PhoneNumber {
id String @default(cuid())
number String
person Person @relation(fields: [personId], references: [id], onDelete: Cascade, onUpdate: Cascade)
personId String
}