feat: 投稿したコンテンツのAIによる学習を軽減するオプションを追加

Resolve #10819
This commit is contained in:
syuilo 2023-05-10 10:52:41 +09:00
parent baa45859c1
commit ae5a72a2df
16 changed files with 61 additions and 2 deletions

View file

@ -0,0 +1,11 @@
export class PreventAiLarning1683682889948 {
name = 'PreventAiLarning1683682889948'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "preventAiLarning" boolean NOT NULL DEFAULT true`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "preventAiLarning"`);
}
}