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

Commit

Permalink
fix: remove Turkish sentences from a specific source (fixes #650) (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler authored Dec 1, 2022
1 parent 0e0fd8e commit 34fd2be
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions server/migrations/20221201172300-remove-tr-source.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
'use strict';

// https://github.com/common-voice/sentence-collector/issues/650

module.exports = {
up: async (queryInterface) => {
await queryInterface.sequelize.query(`
DELETE FROM Sentences WHERE (
localeId="tr" AND source="firmamız veri tabanından bu proje bizim için önemli Türkçe olarak 1500 saate yakın hedefimiz var personel mesai yapacak bunun için cümleler ekliyoruz."
)
`);
},
down: () => Promise.resolve(),
};

0 comments on commit 34fd2be

Please sign in to comment.