From f170962c6408a1b9f4e856f9acdfffbaef913b50 Mon Sep 17 00:00:00 2001 From: murdle Date: Sun, 21 Dec 2025 15:22:02 +0200 Subject: [PATCH] remove not null --- .../migration/postgres/1766283926503-makeKeysNullable.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/util/migration/postgres/1766283926503-makeKeysNullable.ts b/src/util/migration/postgres/1766283926503-makeKeysNullable.ts index dd5b9ace..23cf10ef 100644 --- a/src/util/migration/postgres/1766283926503-makeKeysNullable.ts +++ b/src/util/migration/postgres/1766283926503-makeKeysNullable.ts @@ -23,11 +23,6 @@ export class MakeKeysNullable1766283926503 implements MigrationInterface { SET "type" = 'webpush' WHERE "type" IS NULL; `); - - await queryRunner.query(` - ALTER TABLE "push_subscriptions" - ALTER COLUMN "type" SET NOT NULL; - `); } public async down(queryRunner: QueryRunner): Promise {