fix: cannot execute migration script
This commit is contained in:
parent
59950a019b
commit
5e84d690d3
|
@ -11,7 +11,7 @@ export class multipleTranslationServices1660183643857 {
|
||||||
await queryRunner.query('SELECT "deeplAuthKey" FROM "meta" where "deeplAuthKey" is not null')
|
await queryRunner.query('SELECT "deeplAuthKey" FROM "meta" where "deeplAuthKey" is not null')
|
||||||
.then(deeplAuthKey => {
|
.then(deeplAuthKey => {
|
||||||
if (deeplAuthKey.length > 0) {
|
if (deeplAuthKey.length > 0) {
|
||||||
return queryRunner.query('UPDATE "meta" SET "translatorType" = "DeepL"');
|
return queryRunner.query(`UPDATE "meta" SET "translatorType" = 'DeepL'`);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue