enhance(backend): RedisへのTLのキャッシュをオフにできるように
This commit is contained in:
parent
5a39c1a8eb
commit
e6c54de814
14 changed files with 515 additions and 371 deletions
16
packages/backend/migration/1698041201306-enable-ftt.js
Normal file
16
packages/backend/migration/1698041201306-enable-ftt.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
export class EnableFtt1698041201306 {
|
||||
name = 'EnableFtt1698041201306'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" ADD "enableFanoutTimeline" boolean NOT NULL DEFAULT true`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "enableFanoutTimeline"`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue