feat(frontend): Misskey Gamesのリストに鯖缶指定のチャンネルを載せる (MisskeyIO#383)

This commit is contained in:
まっちゃとーにゅ
2024-01-24 19:57:51 +09:00
committed by GitHub
parent 7884901950
commit ac79f1fdc1
24 changed files with 232 additions and 13 deletions

View File

@@ -0,0 +1,16 @@
/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
export class FeaturedGamesChannel1706081039979 {
name = 'FeaturedGamesChannel1706081039979'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "featuredGameChannels" character varying(1024) array NOT NULL DEFAULT '{}'`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "featuredGameChannels"`);
}
}