mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(core): Use tablePrefix in the CreateVariables migration (no-changelog) (#6011)
This commit is contained in:
committed by
GitHub
parent
9eeba13156
commit
fe058aa8ee
@@ -9,7 +9,7 @@ export class CreateVariables1677501636754 implements MigrationInterface {
|
|||||||
const tablePrefix = getTablePrefix();
|
const tablePrefix = getTablePrefix();
|
||||||
|
|
||||||
await queryRunner.query(`
|
await queryRunner.query(`
|
||||||
CREATE TABLE public.variables (
|
CREATE TABLE ${tablePrefix}variables (
|
||||||
id serial4 NOT NULL PRIMARY KEY,
|
id serial4 NOT NULL PRIMARY KEY,
|
||||||
"key" varchar(50) NOT NULL,
|
"key" varchar(50) NOT NULL,
|
||||||
"type" varchar(50) NOT NULL DEFAULT 'string',
|
"type" varchar(50) NOT NULL DEFAULT 'string',
|
||||||
|
|||||||
Reference in New Issue
Block a user