Fixed not null constraint

ref #65
This commit is contained in:
Nicolai Ort 2021-01-02 18:19:40 +01:00
parent 1dc438beb2
commit 52cdd41ec8
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export class Runner extends Participant {
* Can be a runner team or organisation.
*/
@IsNotEmpty()
@ManyToOne(() => RunnerGroup, group => group.runners, { nullable: false })
@ManyToOne(() => RunnerGroup, group => group.runners)
group: RunnerGroup;
/**