remove not null
This commit is contained in:
parent
16040b897a
commit
f170962c64
@ -23,11 +23,6 @@ export class MakeKeysNullable1766283926503 implements MigrationInterface {
|
|||||||
SET "type" = 'webpush'
|
SET "type" = 'webpush'
|
||||||
WHERE "type" IS NULL;
|
WHERE "type" IS NULL;
|
||||||
`);
|
`);
|
||||||
|
|
||||||
await queryRunner.query(`
|
|
||||||
ALTER TABLE "push_subscriptions"
|
|
||||||
ALTER COLUMN "type" SET NOT NULL;
|
|
||||||
`);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user