diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-19 14:15:19 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-19 14:15:19 +0900 |
| commit | 39801722437193952ecfdd235969ed320005ae53 (patch) | |
| tree | bf333ec5dfcf091ee41ef0b651200d6749fb77cf /packages/backend/migration | |
| parent | 🎨 (diff) | |
| download | misskey-39801722437193952ecfdd235969ed320005ae53.tar.gz misskey-39801722437193952ecfdd235969ed320005ae53.tar.bz2 misskey-39801722437193952ecfdd235969ed320005ae53.zip | |
feat: 非ログイン時に表示されるトップページのスタイルを選択できるように
Diffstat (limited to 'packages/backend/migration')
| -rw-r--r-- | packages/backend/migration/1755574887486-entrancePageStyle.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/backend/migration/1755574887486-entrancePageStyle.js b/packages/backend/migration/1755574887486-entrancePageStyle.js new file mode 100644 index 0000000000..ba40764b94 --- /dev/null +++ b/packages/backend/migration/1755574887486-entrancePageStyle.js @@ -0,0 +1,16 @@ +/* + * SPDX-FileCopyrightText: syuilo and misskey-project + * SPDX-License-Identifier: AGPL-3.0-only + */ + +export class EntrancePageStyle1755574887486 { + name = 'EntrancePageStyle1755574887486' + + async up(queryRunner) { + await queryRunner.query(`ALTER TABLE "meta" ADD "clientOptions" jsonb NOT NULL DEFAULT '{}'`); + } + + async down(queryRunner) { + await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "clientOptions"`); + } +} |