Fixed missing child declaration
This commit is contained in:
parent
32c4270dff
commit
5bbf522362
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue