NoteにisSensitive

This commit is contained in:
mei23
2019-08-25 22:05:41 +09:00
parent 1c4e1af7c3
commit 3d5bcfbaf0
6 changed files with 29 additions and 17 deletions

View File

@@ -83,6 +83,12 @@ export class Note {
@JoinColumn()
public user: User | null;
@Column('boolean', {
default: false,
comment: 'Whether the Note is NSFW.'
})
public isSensitive: boolean;
@Column('boolean', {
default: false
})