enhance(backend): add user.score for moderation purpose
This commit is contained in:
parent
ca022b9349
commit
9e9198086d
2 changed files with 21 additions and 0 deletions
|
|
@ -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.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue