mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-14 20:55:54 +01:00
257c4fccf1
* wip
* Update 2fa.qrdialog.vue
* Update 2fa.vue
* Update CHANGELOG.md
* tweak
* ✌️
16 lines
468 B
JavaScript
16 lines
468 B
JavaScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export class User2faBackupCodes1690569881926 {
|
|
name = 'User2faBackupCodes1690569881926'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "user_profile" ADD "twoFactorBackupSecret" character varying array`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "twoFactorBackupSecret"`);
|
|
}
|
|
}
|