From ea344780cae102265ac06d0f01399d08d78bae75 Mon Sep 17 00:00:00 2001 From: Ronnie Friman <L4168@student.jamk.fi> Date: Sun, 21 Jul 2019 08:45:37 +0300 Subject: [PATCH] remove unnecessary imports --- src/draw/coordinate.entity.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/draw/coordinate.entity.ts b/src/draw/coordinate.entity.ts index e9a1b6f..1448b99 100644 --- a/src/draw/coordinate.entity.ts +++ b/src/draw/coordinate.entity.ts @@ -1,11 +1,4 @@ -import { - Entity, - Column, - PrimaryGeneratedColumn, - ManyToOne, - CreateDateColumn, - OneToMany, -} from 'typeorm'; +import { Entity, Column, PrimaryGeneratedColumn, ManyToOne } from 'typeorm'; import { GameEntity } from '../game/game.entity'; import { FactionEntity } from '../faction/faction.entity'; @@ -20,7 +13,7 @@ export class MapDrawingEntity { @Column({ type: 'bool', nullable: true }) drawingIsActive: boolean; @Column({ type: 'json', nullable: true }) data: JSON; - // When Faction or game that has the drawing in question is deleted from + // When Faction or game that has the drawing in question is deleted from // the database, the drawing is also deleted @ManyToOne(type => FactionEntity, faction => faction.mapDrawings, { onDelete: 'CASCADE', -- GitLab