From ae409db7b616dc3fd38eb56b48f4f5ad77954290 Mon Sep 17 00:00:00 2001 From: Eric McDaniel Date: Wed, 15 Nov 2023 19:28:57 -0500 Subject: [PATCH] Fix submission type in seed data --- core/prisma/exampleCommunitySeeds/unjournal.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/prisma/exampleCommunitySeeds/unjournal.ts b/core/prisma/exampleCommunitySeeds/unjournal.ts index 55ad58c6fd..aae34f7f31 100644 --- a/core/prisma/exampleCommunitySeeds/unjournal.ts +++ b/core/prisma/exampleCommunitySeeds/unjournal.ts @@ -346,7 +346,13 @@ export default async function main(prisma: PrismaClient, communityUUID: string) name: "Submission", communityId: communityUUID, fields: { - connect: [{ id: fieldIds[0] }, { id: fieldIds[1] }, { id: fieldIds[8] }], + connect: [ + { id: fieldIds[0] }, // title + { id: fieldIds[1] }, // description + { id: fieldIds[2] }, // manager's notes + { id: fieldIds[8] }, // doi + { id: fieldIds[15] }, // url + ], }, }, });