remove not null

This commit is contained in:
murdle 2025-12-21 15:22:02 +02:00
parent 16040b897a
commit f170962c64

View File

@ -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<void> {