diff options
author | AlTech98 <altech123159@gmail.com> | 2021-09-03 13:27:15 +0200 |
---|---|---|
committer | AlTech98 <altech123159@gmail.com> | 2021-09-03 13:27:15 +0200 |
commit | f99ed31730300c4243d3479cf7522049d39df275 (patch) | |
tree | 20f23d54ce71e92dd6e34375e1467ba74fdb665c /util | |
parent | fix #310 (diff) | |
download | server-f99ed31730300c4243d3479cf7522049d39df275.tar.xz |
VoiceState fix for db update
Diffstat (limited to 'util')
-rw-r--r-- | util/src/entities/VoiceState.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/entities/VoiceState.ts b/util/src/entities/VoiceState.ts index d7a032c7..bb1deb3d 100644 --- a/util/src/entities/VoiceState.ts +++ b/util/src/entities/VoiceState.ts @@ -32,7 +32,7 @@ export class VoiceState extends BaseClass { @ManyToOne(() => User) user: User; - @JoinColumn({ name: "user_id" }) + @JoinColumn([{ name: "user_id", referencedColumnName: "id" },{ name: "guild_id", referencedColumnName: "guild_id" }]) @ManyToOne(() => Member) member: Member; |