forked from misskey-dev/misskey
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backend): "誰でも新規登録できるようにする"の初期値をOFFにする (misskey-dev#13130)
* fix(backend): "誰でも新規登録できるようにする"の初期値をOFFにする * fix CHANGELOG.md * fix
- Loading branch information
1 parent
b9b0e68
commit af2e745
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
packages/backend/migration/1706791962000-fix-meta-disableRegistration.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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;`); | ||
} | ||
} |