Skip to content

Commit

Permalink
Refactor public survey, scaffold FRM7 survey (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannaPeanut authored Dec 14, 2023
2 parents 5905fdf + 596e514 commit 81afba2
Show file tree
Hide file tree
Showing 101 changed files with 2,281 additions and 3,170 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "SurveyResponse" RENAME COLUMN "surveyId" TO "surveyPart";
2 changes: 1 addition & 1 deletion db/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ model SurveySession {

model SurveyResponse {
id Int @id @default(autoincrement())
surveyId Int // surveyParts as specified by the survey JSON files
surveyPart Int
data String
status SurveyResponseStatusEnum? @default(PENDING)
note String?
Expand Down
Loading

0 comments on commit 81afba2

Please sign in to comment.