forked from FoundKeyGang/FoundKey
Fix #4705
This commit is contained in:
parent
bce8c5a315
commit
400cdf0f26
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,8 @@ export class AccessToken {
|
||||||
})
|
})
|
||||||
public hash: string;
|
public hash: string;
|
||||||
|
|
||||||
@RelationId((self: AccessToken) => self.user)
|
@Index()
|
||||||
|
@Column(id())
|
||||||
public userId: User['id'];
|
public userId: User['id'];
|
||||||
|
|
||||||
@ManyToOne(type => User, {
|
@ManyToOne(type => User, {
|
||||||
|
|
Loading…
Reference in a new issue