From fe058aa8ee3c78a79e167d1e18ec6de9b681c3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Wed, 19 Apr 2023 12:42:46 +0200 Subject: [PATCH] fix(core): Use tablePrefix in the CreateVariables migration (no-changelog) (#6011) --- .../migrations/postgresdb/1677501636754-CreateVariables.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/databases/migrations/postgresdb/1677501636754-CreateVariables.ts b/packages/cli/src/databases/migrations/postgresdb/1677501636754-CreateVariables.ts index 106d844086..59842d73b1 100644 --- a/packages/cli/src/databases/migrations/postgresdb/1677501636754-CreateVariables.ts +++ b/packages/cli/src/databases/migrations/postgresdb/1677501636754-CreateVariables.ts @@ -9,7 +9,7 @@ export class CreateVariables1677501636754 implements MigrationInterface { const tablePrefix = getTablePrefix(); await queryRunner.query(` - CREATE TABLE public.variables ( + CREATE TABLE ${tablePrefix}variables ( id serial4 NOT NULL PRIMARY KEY, "key" varchar(50) NOT NULL, "type" varchar(50) NOT NULL DEFAULT 'string',