diff --git a/server/migrations/20221027223900-remove-oc.js b/server/migrations/20221027223900-remove-oc.js new file mode 100644 index 00000000..577c50f3 --- /dev/null +++ b/server/migrations/20221027223900-remove-oc.js @@ -0,0 +1,13 @@ +"use strict"; + +// https://github.com/common-voice/sentence-collector/issues/641 + +module.exports = { + up: async (queryInterface) => { + await queryInterface.sequelize.query(` + DELETE FROM Sentences + WHERE localeId = "oc" + `); + }, + down: () => Promise.resolve(), +};