enhance(backend): リモートユーザーのチャート生成を無効にするオプションを追加
This commit is contained in:
parent
7f9a41b05c
commit
f01e6ef6bf
9 changed files with 47 additions and 5 deletions
|
@ -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"`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue