using upsert instead create new resume

This commit is contained in:
2024-10-15 17:43:08 +07:00
parent f5654e267b
commit 871853bef4
4 changed files with 760 additions and 778 deletions

View File

@@ -26,7 +26,9 @@ export class WorkshopSchema extends PothosSchema {
description: t.exposeString('description'),
staffId: t.exposeID('staffId'),
serviceId: t.exposeID('serviceId'),
imageFile: t.relation('imageFile'),
imageFile: t.relation('imageFile', {
nullable: true,
}),
imageFileId: t.exposeID('imageFileId'),
imageFileUrl: t.exposeString('imageFileUrl'),
date: t.expose('date', {