Skip to content
Snippets Groups Projects

Game state

Merged Ghost User requested to merge game-state into Development
20 files
+ 347
59
Compare changes
  • Side-by-side
  • Inline
Files
20
@@ -17,7 +17,9 @@ export class MapDrawingEntity {
@@ -17,7 +17,9 @@ export class MapDrawingEntity {
@Column({ type: 'json', nullable: true }) data: JSON;
@Column({ type: 'json', nullable: true }) data: JSON;
@ManyToOne(type => FactionEntity, faction => faction.mapDrawings)
@ManyToOne(type => FactionEntity, faction => faction.mapDrawings, {
 
onDelete: 'CASCADE',
 
})
faction: FactionEntity;
faction: FactionEntity;
@ManyToOne(type => GameEntity, gameEntity => gameEntity.id)
@ManyToOne(type => GameEntity, gameEntity => gameEntity.id)
gameId: GameEntity;
gameId: GameEntity;
Loading