mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-02 22:46:40 +09:00
enhance(backend): リモートユーザーのチャート生成を無効にするオプションを追加
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
export class enableChartsForRemoteUser1679639483253 {
|
||||
name = 'enableChartsForRemoteUser1679639483253'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" ADD "enableChartsForRemoteUser" boolean NOT NULL DEFAULT true`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "enableChartsForRemoteUser"`);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user