소스 검색

Fix DB spec

ghorsington 5 년 전
부모
커밋
f56f78453c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      db/src/entity/ContestEntry.ts

+ 1 - 1
db/src/entity/ContestEntry.ts

@@ -11,6 +11,6 @@ export class ContestEntry {
     @ManyToOne(type => Contest, contest => contest.entries)
     contest: Contest;
 
-    @OneToMany(type => ContestVote, vote => vote.contest)
+    @OneToMany(type => ContestVote, vote => vote.contestEntry)
     votes: ContestVote[];
 }