Fix #4705
This commit is contained in:
parent
bce8c5a315
commit
400cdf0f26
@ -25,7 +25,8 @@ export class AccessToken {
|
||||
})
|
||||
public hash: string;
|
||||
|
||||
@RelationId((self: AccessToken) => self.user)
|
||||
@Index()
|
||||
@Column(id())
|
||||
public userId: User['id'];
|
||||
|
||||
@ManyToOne(type => User, {
|
||||
|
Loading…
Reference in New Issue
Block a user