mirror of
https://github.com/sim1222/misskey.git
synced 2025-07-02 00:40:04 +09:00
enhance: make active email validation configurable
This commit is contained in:
@ -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"`);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user