'use strict'; /** * The automatic sentence-chain generator used one fixed directions-question * prompt for every multi-part cue. It therefore contradicted the word cards * in unrelated lessons such as "Spielen & Freizeit". */ module.exports = { async up(queryInterface) { await queryInterface.sequelize.query(` UPDATE community.vocab_grammar_exercise SET question_data = jsonb_set( question_data, '{question}', '"Ordne die Wortkarten zu den kurzen Formulierungen aus der Aufgabe."'::jsonb ) WHERE question_data->>'type' = 'sentence_building' AND question_data->>'question' = 'Ordne die Wortkarten als drei Fragen: Wohin geht die Person? Wann geht sie los? Mit wem ist sie unterwegs?'; `); }, async down() { // The previous prompt was incorrect and must not be restored. } };