mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 05:04:05 -08:00
fix(core): Use tablePrefix in the CreateVariables migration (no-changelog) (#6011)
This commit is contained in:
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',
|
||||||
|
|
Loading…
Reference in a new issue