Browse Source

Fix DB spec

ghorsington 5 years ago
parent
commit
f56f78453c
1 changed files with 1 additions and 1 deletions
  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[];
 }