enhance(backend): add user.score for moderation purpose
This commit is contained in:
@@ -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.',
|
||||
|
Reference in New Issue
Block a user