Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
fix: remove nb-NO tatoeba sentences
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler committed Nov 7, 2021
1 parent 04f69a6 commit d7047d1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions server/migrations/20211107004500-remove-nb-NO-tatoeba.js
Original file line number Diff line number Diff line change
@@ -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(),
};

0 comments on commit d7047d1

Please sign in to comment.