Files
yourpart3/backend/migrations-active/20260907000000-clarify-bisaya-adto-first-person-gap.cjs
Torsten Schulz (local) 1149814f64
All checks were successful
Deploy to production / deploy (push) Successful in 3m40s
feat(bisaya): update gap fill exercise instruction to clarify first person usage
2026-09-07 15:13:55 +02:00

22 lines
759 B
JavaScript

'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.
}
};