Fixed missing child declaration

This commit is contained in:
Nicolai Ort 2020-12-03 20:23:56 +01:00
parent 32c4270dff
commit 5bbf522362
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, OneToMany } from "typeorm";
import { Entity, Column, ManyToOne, OneToMany, ChildEntity } from "typeorm";
import { IsOptional, } from "class-validator";
import { RunnerGroup } from "./RunnerGroup";
import { Address } from "./Address";
@ -7,7 +7,7 @@ import { RunnerTeam } from "./RunnerTeam";
/**
* Defines a runner organisation (business or school for example).
*/
@Entity()
@ChildEntity()
export class RunnerOrganisation extends RunnerGroup {
/**