enhance: make active email validation configurable

This commit is contained in:
syuilo 2022-07-09 15:05:55 +09:00
parent 522ddba3d7
commit 75d516011b
8 changed files with 61 additions and 8 deletions

View file

@ -0,0 +1,11 @@
export class activeEmailValidation1657346559800 {
name = 'activeEmailValidation1657346559800'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "enableActiveEmailValidation" boolean NOT NULL DEFAULT true`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "enableActiveEmailValidation"`);
}
}