fix(vocab): exclude writing tasks from SRS
All checks were successful
Deploy to production / deploy (push) Successful in 2m41s
All checks were successful
Deploy to production / deploy (push) Successful in 2m41s
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
'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.
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user