1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-12 21:58:58 +09:00
This commit is contained in:
syuilo 2019-04-16 01:11:20 +09:00
parent bce8c5a315
commit 400cdf0f26
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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, {