diff --git a/server/migrations/20210207123612-remove-uk-sentences.js b/server/migrations/20210207123612-remove-uk-sentences.js new file mode 100644 index 00000000..b3584396 --- /dev/null +++ b/server/migrations/20210207123612-remove-uk-sentences.js @@ -0,0 +1,16 @@ +'use strict'; + +module.exports = { + up: async (queryInterface) => { + await queryInterface.sequelize.query(` + DELETE FROM Sentences + WHERE (localeId="uk" AND source="cetation of Володимир Білінський") + `); + + await queryInterface.sequelize.query(` + DELETE FROM Sentences + WHERE (localeId="uk" AND source="cetation of Іван Білик") + `); + }, + down: () => Promise.resolve(), +};