mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix #4705
This commit is contained in:
parent
815ab4c310
commit
c44543bd3e
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue