Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update check-in form SM and PO and change voyage-role[216] #196

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading