diff --git a/src/util/migrations/sqlite/1660565540177-sync_rebase_15aug2022.ts b/src/util/migrations/sqlite/1660565540177-sync_rebase_15aug2022.ts new file mode 100644 index 000000000..665df6c5b --- /dev/null +++ b/src/util/migrations/sqlite/1660565540177-sync_rebase_15aug2022.ts @@ -0,0 +1,18 @@ +import { MigrationInterface, QueryRunner } from "typeorm"; + +export class syncRebase15aug20221660565540177 implements MigrationInterface { + name = 'syncRebase15aug20221660565540177' + + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.query(` + CREATE TABLE "plugin_config" ("key" varchar PRIMARY KEY NOT NULL, "value" text) + `); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.query(` + DROP TABLE "plugin_config" + `); + } + +} diff --git a/src/util/util/index.ts b/src/util/util/index.ts index ed555a321..41da86a82 100644 --- a/src/util/util/index.ts +++ b/src/util/util/index.ts @@ -49,4 +49,5 @@ export * from "./Application"; export * from "./NameValidation"; export * from "./InvisibleCharacters"; export * from "./Environment"; +export * from "./Logo"; export * from "./Paths"; \ No newline at end of file