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

This commit is contained in:
Torsten Schulz (local)
2026-09-09 21:06:25 +02:00
parent b48d03ab70
commit 01ee72c700

View File

@@ -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() {}
};