Skip to content

Commit 0c57118

Browse files
Add missing migration for plugins
1 parent db65a12 commit 0c57118

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { MigrationInterface, QueryRunner } from "typeorm";
2+
3+
export class Plugins1753639700905 implements MigrationInterface {
4+
name = 'Plugins1753639700905'
5+
6+
public async up(queryRunner: QueryRunner): Promise<void> {
7+
await queryRunner.query(`CREATE TABLE "plugin_config" ("key" character varying NOT NULL, "value" text, CONSTRAINT "PK_aa929ece56c59233b85a16f62ef" PRIMARY KEY ("key"))`);
8+
}
9+
10+
public async down(queryRunner: QueryRunner): Promise<void> {
11+
await queryRunner.query(`DROP TABLE "plugin_config"`);
12+
}
13+
14+
}

0 commit comments

Comments
 (0)