@@ -8,7 +8,6 @@ import {
|
||||
import { Column, Entity, OneToMany, PrimaryGeneratedColumn } from "typeorm";
|
||||
import { config } from '../../config';
|
||||
import { Participant } from "./Participant";
|
||||
import { RunnerOrganisation } from "./RunnerOrganisation";
|
||||
|
||||
/**
|
||||
* Defines the Address entity.
|
||||
@@ -82,9 +81,9 @@ export class Address {
|
||||
@OneToMany(() => Participant, participant => participant.address, { nullable: true })
|
||||
participants: Participant[];
|
||||
|
||||
/**
|
||||
* Used to link the address to runner groups.
|
||||
*/
|
||||
@OneToMany(() => RunnerOrganisation, group => group.address, { nullable: true })
|
||||
groups: RunnerOrganisation[];
|
||||
// /**
|
||||
// * Used to link the address to runner groups.
|
||||
// */
|
||||
// @OneToMany(() => RunnerOrganisation, group => group.address, { nullable: true })
|
||||
// groups: RunnerOrganisation[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user