1 files changed, 18 insertions, 0 deletions
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 00000000..665df6c5
--- /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<void> {
+ await queryRunner.query(`
+ CREATE TABLE "plugin_config" ("key" varchar PRIMARY KEY NOT NULL, "value" text)
+ `);
+ }
+
+ public async down(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(`
+ DROP TABLE "plugin_config"
+ `);
+ }
+
+}
|