fix(core): Use tablePrefix in the CreateVariables migration (no-changelog) (#6011)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-04-19 12:42:46 +02:00 committed by GitHub
parent 9eeba13156
commit fe058aa8ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',