17 lines
460 B
JavaScript
17 lines
460 B
JavaScript
'use strict';
|
||
|
||
/** Removes a task instruction accidentally persisted as an SRS vocabulary card. */
|
||
module.exports = {
|
||
async up(queryInterface) {
|
||
await queryInterface.sequelize.query(`
|
||
DELETE FROM community.vocab_srs_item
|
||
WHERE course_id = 1
|
||
AND lower(trim(learning)) = 'schreibe 1–20 auf karten und übersetze jede zahl ins bisaya.';
|
||
`);
|
||
},
|
||
|
||
async down() {
|
||
// The invalid generated SRS card must not be restored.
|
||
}
|
||
};
|