1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-25 15:46:39 +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, {