diff --git a/CHANGELOG.md b/CHANGELOG.md index b63442d1..71d80f2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ Another example [here](https://co-pilot.dev/changelog) ### Fixed - Fix seed data for alpha test (check in form question changes, gravatar) ([#190](https://github.com/chingu-x/chingu-dashboard-be/pull/190)) +- Fix seed checkin form data for PO and SM , and voyage-role for team 6 ([#196](https://github.com/chingu-x/chingu-dashboard-be/pull/196)) ### Removed diff --git a/prisma/seed/forms/checkinformPO.ts b/prisma/seed/forms/checkinformPO.ts index e59afcfb..be834b89 100644 --- a/prisma/seed/forms/checkinformPO.ts +++ b/prisma/seed/forms/checkinformPO.ts @@ -16,7 +16,7 @@ export const populateCheckinFormPO = async () => { questions: { create: [ { - order: 1, + order: 101, inputType: { connect: { name: "checkbox", @@ -73,7 +73,7 @@ export const populateCheckinFormPO = async () => { }, }, { - order: 2, + order: 102, inputType: { connect: { name: "text", diff --git a/prisma/seed/forms/checkinformSM.ts b/prisma/seed/forms/checkinformSM.ts index 6b48abad..72d7af33 100644 --- a/prisma/seed/forms/checkinformSM.ts +++ b/prisma/seed/forms/checkinformSM.ts @@ -16,7 +16,7 @@ export const populateCheckinFormSM = async () => { questions: { create: [ { - order: 1, + order: 201, inputType: { connect: { name: "boolean", @@ -26,7 +26,7 @@ export const populateCheckinFormSM = async () => { answerRequired: true, }, { - order: 2, + order: 202, inputType: { connect: { name: "boolean", @@ -36,7 +36,7 @@ export const populateCheckinFormSM = async () => { answerRequired: true, }, { - order: 3, + order: 203, inputType: { connect: { name: "boolean", @@ -46,7 +46,7 @@ export const populateCheckinFormSM = async () => { answerRequired: true, }, { - order: 4, + order: 204, inputType: { connect: { name: "text", diff --git a/prisma/seed/voyage-teams.ts b/prisma/seed/voyage-teams.ts index c9f971a7..1e8ffe1d 100644 --- a/prisma/seed/voyage-teams.ts +++ b/prisma/seed/voyage-teams.ts @@ -487,7 +487,7 @@ export const populateVoyageTeams = async () => { }, voyageRole: { connect: { - name: voyageRoles[2].name, + name: voyageRoles[1].name, }, }, status: {