Skip to content
Snippets Groups Projects
Unverified Commit 400cdf0f authored by syuilo's avatar syuilo
Browse files

Fix #4705

parent bce8c5a3
No related branches found
No related tags found
No related merge requests found
......@@ -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, {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment