From 5e84d690d3c8c5896afe6b4d1fde3283f70202d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=95=84=EB=A5=B4=ED=8E=98?= Date: Tue, 3 Oct 2023 21:25:08 +0900 Subject: [PATCH] fix: cannot execute migration script --- .../migration/1660183643857-multipleTranslationServices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/migration/1660183643857-multipleTranslationServices.js b/packages/backend/migration/1660183643857-multipleTranslationServices.js index e06a9a2019..9c89a038b0 100644 --- a/packages/backend/migration/1660183643857-multipleTranslationServices.js +++ b/packages/backend/migration/1660183643857-multipleTranslationServices.js @@ -11,7 +11,7 @@ export class multipleTranslationServices1660183643857 { await queryRunner.query('SELECT "deeplAuthKey" FROM "meta" where "deeplAuthKey" is not null') .then(deeplAuthKey => { if (deeplAuthKey.length > 0) { - return queryRunner.query('UPDATE "meta" SET "translatorType" = "DeepL"'); + return queryRunner.query(`UPDATE "meta" SET "translatorType" = 'DeepL'`); } }) }