summary refs log tree commit diff
path: root/util/src/migrations/postgres/1660258372154-CodeCleanup3.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util/src/migrations/postgres/1660258372154-CodeCleanup3.ts')
-rw-r--r--util/src/migrations/postgres/1660258372154-CodeCleanup3.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/util/src/migrations/postgres/1660258372154-CodeCleanup3.ts b/util/src/migrations/postgres/1660258372154-CodeCleanup3.ts
deleted file mode 100644

index e2823a54..00000000 --- a/util/src/migrations/postgres/1660258372154-CodeCleanup3.ts +++ /dev/null
@@ -1,19 +0,0 @@ -import { MigrationInterface, QueryRunner } from "typeorm"; - -export class CodeCleanup31660258372154 implements MigrationInterface { - name = 'CodeCleanup31660258372154' - - public async up(queryRunner: QueryRunner): Promise<void> { - await queryRunner.query(` - ALTER TABLE "users" DROP COLUMN "settings" - `); - } - - public async down(queryRunner: QueryRunner): Promise<void> { - await queryRunner.query(` - ALTER TABLE "users" - ADD "settings" text NOT NULL - `); - } - -}