refactor: rename Recipient to Person, remove username, add userId FK

This commit is contained in:
2026-06-16 10:04:24 +02:00
parent befe1f3f82
commit d67f31cf54
27 changed files with 751 additions and 628 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ export const AssignmentService = {
},
})
},
findAllByRecipient: async (
findAllByPerson: async (
recipientId: string,
): Promise<AssignmentWithRecipientItemAsset[]> => {
return prisma.assignment.findMany({
@@ -143,4 +143,4 @@ export const AssignmentService = {
data,
})
},
}
}