diff --git a/server/migrations/20211107004500-remove-nb-NO-tatoeba.js b/server/migrations/20211107004500-remove-nb-NO-tatoeba.js new file mode 100644 index 00000000..e205d0b4 --- /dev/null +++ b/server/migrations/20211107004500-remove-nb-NO-tatoeba.js @@ -0,0 +1,14 @@ +"use strict"; + +// https://discourse.mozilla.org/t/sentence-collector-copyright-issues/52767/43 + +module.exports = { + up: async (queryInterface) => { + await queryInterface.sequelize.query(` + DELETE FROM Sentences WHERE ( + localeId="nb-NO" AND source="https://tatoeba.org" + ) + `); + }, + down: () => Promise.resolve(), +};