feat(SSO): メールアドレスのnormalizeを設定可能にする (MisskeyIO#971)

This commit is contained in:
あわわわとーにゅ 2025-04-22 00:14:13 +09:00 committed by GitHub
parent 17e14bb87e
commit c94e5d7e22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 49 additions and 3 deletions

View file

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