Skip to content
Snippets Groups Projects

Small fixes

Merged Ghost User requested to merge small-fixes into Development
27 files
+ 408
96
Compare changes
  • Side-by-side
  • Inline
Files
27
@@ -21,7 +21,9 @@ export class MapDrawingEntity {
onDelete: 'CASCADE',
})
faction: FactionEntity;
@ManyToOne(type => GameEntity, gameEntity => gameEntity.id)
@ManyToOne(type => GameEntity, gameEntity => gameEntity.id, {
onDelete: 'CASCADE',
})
gameId: GameEntity;
}
@@ -30,8 +32,20 @@ export class Game_Person_MapDrawingEntity {
@PrimaryGeneratedColumn('uuid') GPmapDrawingId: string;
@Column({ type: 'timestamp' }) GPCTimeStamp: Timestamp;
@ManyToOne(type => Game_PersonEntity, game_person => game_person.gamepersonId)
@ManyToOne(
type => Game_PersonEntity,
game_person => game_person.gamepersonId,
{
onDelete: 'CASCADE',
},
)
game_person: Game_PersonEntity;
@ManyToOne(type => MapDrawingEntity, map_drawing => map_drawing.mapDrawingId)
@ManyToOne(
type => MapDrawingEntity,
map_drawing => map_drawing.mapDrawingId,
{
onDelete: 'CASCADE',
},
)
map_drawing: MapDrawingEntity;
}
Loading