diff --git a/packages/db/prisma/data-migrations/2024-02-20_appsheet-load/!prep-single.ts b/packages/db/prisma/data-migrations/2024-02-20_appsheet-load/!prep-single.ts index 29f91f58f9..05440757ba 100644 --- a/packages/db/prisma/data-migrations/2024-02-20_appsheet-load/!prep-single.ts +++ b/packages/db/prisma/data-migrations/2024-02-20_appsheet-load/!prep-single.ts @@ -275,7 +275,8 @@ const run = async () => { }) } } - + record.organization.create.attributes = { connectOrCreate: organizationAttributes.connectOrCreate } + record.organization.update.attributes = { upsert: organizationAttributes.upsert } if (org.URL) { const existingWebsite = await prisma.orgWebsite.findFirst({ where: { organizationId: orgId },