enhance(backend): add user.score for moderation purpose

This commit is contained in:
syuilo
2024-09-28 11:54:40 +09:00
parent ca022b9349
commit 9e9198086d
2 changed files with 21 additions and 0 deletions

View File

@@ -155,6 +155,11 @@ export class MiUser {
})
public tags: string[];
@Column('integer', {
default: 0,
})
public score: number;
@Column('boolean', {
default: false,
comment: 'Whether the User is suspended.',