Skip to content
Snippets Groups Projects
Commit ea344780 authored by Ronnie Friman's avatar Ronnie Friman
Browse files

remove unnecessary imports

parent 4fc0abaa
No related branches found
No related tags found
3 merge requests!59Development to master,!58Development to testing,!55Flagbox replay
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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment