diff --git a/backend/migrations-active/20260907000000-clarify-bisaya-adto-first-person-gap.cjs b/backend/migrations-active/20260907000000-clarify-bisaya-adto-first-person-gap.cjs new file mode 100644 index 0000000..e9ba622 --- /dev/null +++ b/backend/migrations-active/20260907000000-clarify-bisaya-adto-first-person-gap.cjs @@ -0,0 +1,21 @@ +'use strict'; + +/** The expected answers include "ko", so the prompt must name first person. */ +module.exports = { + async up(queryInterface) { + await queryInterface.sequelize.query(` + UPDATE community.vocab_grammar_exercise AS exercise + SET instruction = 'Bilde „ich gehe“ mit „adto“ in Vergangenheit, Gegenwart und Zukunft. Verwende in jeder Form „ko“.' + FROM community.vocab_course_lesson AS lesson + WHERE exercise.lesson_id = lesson.id + AND lesson.lesson_number = 15 + AND lesson.title = 'Zeitformen - Grundlagen' + AND exercise.exercise_number = 5 + AND exercise.title = 'Zeitmuster anwenden'; + `); + }, + + async down() { + // The old instruction omitted the required person marker. + } +}; diff --git a/backend/scripts/create-bisaya-course-content.js b/backend/scripts/create-bisaya-course-content.js index 66a5525..0ab6840 100755 --- a/backend/scripts/create-bisaya-course-content.js +++ b/backend/scripts/create-bisaya-course-content.js @@ -2710,7 +2710,7 @@ const BISAYA_EXERCISES = { }, withTypeName('gap_fill', { title: 'Zeitmuster anwenden', - instruction: 'Verwende das Verb "adto" in Vergangenheit, Gegenwart und Zukunft. Trage jede Form in das passende Feld ein.', + instruction: 'Bilde „ich gehe“ mit „adto“ in Vergangenheit, Gegenwart und Zukunft. Verwende in jeder Form „ko“.', questionData: { type: 'gap_fill', text: 'Vergangenheit: {gap} | Gegenwart: {gap} | Zukunft: {gap}',