From 4d593eb840f51d33746479a26787c30f5a3983f5 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Wed, 2 Dec 2020 15:36:11 +0100 Subject: [PATCH] Removed relation that was already implemented in the super ref #11 --- src/models/TrackScan.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/models/TrackScan.ts b/src/models/TrackScan.ts index c7bc0b9..f6ffb81 100644 --- a/src/models/TrackScan.ts +++ b/src/models/TrackScan.ts @@ -1,4 +1,4 @@ -import { PrimaryGeneratedColumn, Column } from "typeorm"; +import { PrimaryGeneratedColumn, Column, ManyToOne } from "typeorm"; import { IsBoolean, IsDateString, @@ -25,14 +25,6 @@ export class TrackScan extends Scan { @IsInt() id: number; - /** - * The associated runner. - */ - @Column() - @IsNotEmpty() - //TODO: Relationship - runner: Runner; - /** * The associated track. */