feat(migration): add migration to remove invalid past marker from vocab_srs_item
All checks were successful
Deploy to production / deploy (push) Successful in 2m40s
All checks were successful
Deploy to production / deploy (push) Successful in 2m40s
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
async up(queryInterface) {
|
||||
await queryInterface.sequelize.query(`
|
||||
DELETE FROM community.vocab_srs_item
|
||||
WHERE lower(trim(learning)) = 'vergangenheit'
|
||||
AND lower(trim(reference)) IN ('ni-kaon ko ganiha', 'nikaon ko ganiha');
|
||||
`);
|
||||
},
|
||||
|
||||
async down() {}
|
||||
};
|
||||
Reference in New Issue
Block a user