summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorAlTech98 <altech123159@gmail.com>2021-09-03 13:27:15 +0200
committerAlTech98 <altech123159@gmail.com>2021-09-03 13:27:15 +0200
commitaec4f6fd1d64e1a3c99a3d1112b25f3fe69d9b6a (patch)
treee5cfcd6ff82c83e2ed75fb3a34a2b677c85fd8cd /util
parentfix #310 (diff)
downloadserver-aec4f6fd1d64e1a3c99a3d1112b25f3fe69d9b6a.tar.xz
VoiceState fix for db update
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/VoiceState.ts2
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;