Skip to content

Commit

Permalink
Merge pull request #196 from chingu-x/chore/seed-update-checkin-form-…
Browse files Browse the repository at this point in the history
…voyagerole

chore: update check-in form SM and PO and change voyage-role[216]
  • Loading branch information
Ajen07 authored Sep 6, 2024
2 parents f81b90a + 9542227 commit 6fdefb5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions prisma/seed/forms/checkinformPO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const populateCheckinFormPO = async () => {
questions: {
create: [
{
order: 1,
order: 101,
inputType: {
connect: {
name: "checkbox",
Expand Down Expand Up @@ -73,7 +73,7 @@ export const populateCheckinFormPO = async () => {
},
},
{
order: 2,
order: 102,
inputType: {
connect: {
name: "text",
Expand Down
8 changes: 4 additions & 4 deletions prisma/seed/forms/checkinformSM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const populateCheckinFormSM = async () => {
questions: {
create: [
{
order: 1,
order: 201,
inputType: {
connect: {
name: "boolean",
Expand All @@ -26,7 +26,7 @@ export const populateCheckinFormSM = async () => {
answerRequired: true,
},
{
order: 2,
order: 202,
inputType: {
connect: {
name: "boolean",
Expand All @@ -36,7 +36,7 @@ export const populateCheckinFormSM = async () => {
answerRequired: true,
},
{
order: 3,
order: 203,
inputType: {
connect: {
name: "boolean",
Expand All @@ -46,7 +46,7 @@ export const populateCheckinFormSM = async () => {
answerRequired: true,
},
{
order: 4,
order: 204,
inputType: {
connect: {
name: "text",
Expand Down
2 changes: 1 addition & 1 deletion prisma/seed/voyage-teams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ export const populateVoyageTeams = async () => {
},
voyageRole: {
connect: {
name: voyageRoles[2].name,
name: voyageRoles[1].name,
},
},
status: {
Expand Down

0 comments on commit 6fdefb5

Please sign in to comment.