Skip to content

Commit

Permalink
change: FTTはデフォルトで無効にする
Browse files Browse the repository at this point in the history
  • Loading branch information
taiyme committed Apr 24, 2024
1 parent 214f1ae commit 2e2d01c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/

export class TmsFttDisabledByDefault1713956400000 {
name = 'TmsFttDisabledByDefault1713956400000'

async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "enableFanoutTimeline" SET DEFAULT false`);
}

async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "enableFanoutTimeline" SET DEFAULT true`);
}
}
2 changes: 1 addition & 1 deletion packages/backend/src/models/Meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ export class MiMeta {
public preservedUsernames: string[];

@Column('boolean', {
default: true,
default: false,
})
public enableFanoutTimeline: boolean;

Expand Down

0 comments on commit 2e2d01c

Please sign in to comment.