fix(backend): "誰でも新規登録できるようにする"の初期値をOFFにする (#13130)
* fix(backend): "誰でも新規登録できるようにする"の初期値をOFFにする * fix CHANGELOG.md * fix
This commit is contained in:
parent
07dc99d197
commit
85809a240e
2 changed files with 17 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
export class FixMetaDisableRegistration1706791962000 {
|
||||
name = 'FixMetaDisableRegistration1706791962000'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`alter table meta alter column "disableRegistration" set default true;`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`alter table meta alter column "disableRegistration" set default false;`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue