diff --git a/src/game/faction.entity.ts b/src/game/faction.entity.ts index 135d73a4108b3191e29c9e8921f1fbf5dffc9a37..4c15c865dd9cc2357412c1c106858c24cb67ae94 100644 --- a/src/game/faction.entity.ts +++ b/src/game/faction.entity.ts @@ -8,9 +8,8 @@ import { } from 'typeorm'; import { GameEntity } from './game.entity'; import { Game_PersonEntity } from './game.entity'; -import { MapDrawingEntity } from './coordinate.entity'; -//Faction, PowerUp, Faction_powerUp, FP_History, Score, Task +//Faction, PowerUp, Faction_powerUp, FP_History, Score @Entity('Faction') export class FactionEntity { @@ -70,17 +69,3 @@ export class ScoreEntity { @ManyToOne(type => FactionEntity, factionName => factionName.factionId) faction: FactionEntity; } - -@Entity('Task') -export class TaskEntity { - @PrimaryGeneratedColumn('uuid') taskId: string; - @Column({ type: 'text' }) taskName: string; - @Column({ type: 'text' }) taskDescription: string; - @Column({ type: 'text' }) taskWinner: string; - @Column({ type: 'bool' }) taskIsActive: boolean; - - @ManyToOne(type => FactionEntity, faction => faction.factionId) - faction: FactionEntity; - /* @ManyToOne(type => PersonEntity, person => person.tasks) - person: PersonEntity; */ -}