Feat: GDPRモードを追加した

Signed-off-by: mattyatea <mattyacocacora0@gmail.com>
This commit is contained in:
mattyatea 2023-12-31 18:19:59 +09:00
parent cb1586658e
commit 74e45b13eb
No known key found for this signature in database
GPG key ID: 068E54E2C33BEF9A
13 changed files with 83 additions and 8 deletions

View file

@ -65,6 +65,11 @@ export class MiAbuseUserReport {
})
public notes: any[];
@Column('jsonb', {
default: [],
})
public noteIds: string[] | null;
//#region Denormalized fields
@Index()
@Column('varchar', {

View file

@ -541,4 +541,9 @@ export class MiMeta {
default: 0,
})
public notesPerOneAd: number;
@Column('boolean', {
default: false,
})
public enableGDPRMode: boolean;
}