diff --git a/backend/migrations-active/20260907000001-clarify-bisaya-health-gap.cjs b/backend/migrations-active/20260907000001-clarify-bisaya-health-gap.cjs new file mode 100644 index 0000000..fd9b534 --- /dev/null +++ b/backend/migrations-active/20260907000001-clarify-bisaya-health-gap.cjs @@ -0,0 +1,21 @@ +'use strict'; + +/** The original body-part gap had several equally plausible answers. */ +module.exports = { + async up(queryInterface) { + await queryInterface.sequelize.query(` + UPDATE community.vocab_grammar_exercise AS exercise + SET instruction = 'Frage auf Bisaya: „Tut dir der Bauch weh? Geht es dir schon besser?“' + FROM community.vocab_course_lesson AS lesson + WHERE exercise.lesson_id = lesson.id + AND lesson.lesson_number = 26 + AND lesson.title = 'Gesundheit & Wohlbefinden' + AND exercise.exercise_number = 2 + AND exercise.title = 'Gesundheitsfrage ergänzen'; + `); + }, + + async down() { + // The old wording did not identify the intended body part. + } +}; diff --git a/backend/scripts/create-bisaya-course-content.js b/backend/scripts/create-bisaya-course-content.js index 0ab6840..b69e611 100755 --- a/backend/scripts/create-bisaya-course-content.js +++ b/backend/scripts/create-bisaya-course-content.js @@ -1106,7 +1106,7 @@ const BISAYA_EXERCISES = { { exerciseTypeId: 1, title: 'Gesundheitsfrage ergänzen', - instruction: 'Fülle die Lücken mit den passenden Bisaya-Wörtern.', + instruction: 'Frage auf Bisaya: „Tut dir der Bauch weh? Geht es dir schon besser?“', questionData: { type: 'gap_fill', text: 'Sakit imong {gap}? Mas maayo na {gap}?',