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 { IsOptional, } from "class-validator";
|
||||||
import { RunnerGroup } from "./RunnerGroup";
|
import { RunnerGroup } from "./RunnerGroup";
|
||||||
import { Address } from "./Address";
|
import { Address } from "./Address";
|
||||||
@ -7,7 +7,7 @@ import { RunnerTeam } from "./RunnerTeam";
|
|||||||
/**
|
/**
|
||||||
* Defines a runner organisation (business or school for example).
|
* Defines a runner organisation (business or school for example).
|
||||||
*/
|
*/
|
||||||
@Entity()
|
@ChildEntity()
|
||||||
export class RunnerOrganisation extends RunnerGroup {
|
export class RunnerOrganisation extends RunnerGroup {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user