Skip to content

Commit fef3ef1

Browse files
committed
fix(data): avoid changing the date of the last questionnaire
1 parent 60d4460 commit fef3ef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

db_management/questionnairedb/data/test/omi/02_answers.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ WHERE `ID` IN (5402, 5403);
6767
UPDATE `answerQuestionnaire`
6868
SET creationDate = DATE_ADD(creationDate, INTERVAL ((WEEK(CURDATE()) - WEEK('2025-06-08')) * 7) DAY),
6969
lastUpdated = creationDate
70-
WHERE ID NOT IN (5400, 5401, 5402, 5403);
70+
WHERE ID NOT IN (5400, 5401, 5402, 5403, 5404);
7171

7272
UPDATE `answerQuestionnaire`
7373
SET completedDate = DATE_ADD(completedDate, INTERVAL ((WEEK(CURDATE()) - WEEK('2025-06-08')) * 7) DAY),
7474
lastUpdated = completedDate
75-
WHERE `status`=2 AND ID NOT IN (5400, 5401, 5402, 5403);
75+
WHERE `status` = 2 AND ID NOT IN (5400, 5401, 5402, 5403, 5404);
7676

7777
INSERT INTO `answerSection` (`ID`, `answerQuestionnaireId`, `sectionId`) VALUES
7878
(193, 225, 18),

0 commit comments

Comments
 (0)