Skip to content
Snippets Groups Projects

Development

Merged Ghost User requested to merge Development into testing
34 files
+ 757
195
Compare changes
  • Side-by-side
  • Inline
Files
34
@@ -17,9 +17,13 @@ export class MapDrawingEntity {
@@ -17,9 +17,13 @@ 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, {
 
onDelete: 'CASCADE',
 
})
gameId: GameEntity;
gameId: GameEntity;
}
}
@@ -28,8 +32,20 @@ export class Game_Person_MapDrawingEntity {
@@ -28,8 +32,20 @@ export class Game_Person_MapDrawingEntity {
@PrimaryGeneratedColumn('uuid') GPmapDrawingId: string;
@PrimaryGeneratedColumn('uuid') GPmapDrawingId: string;
@Column({ type: 'timestamp' }) GPCTimeStamp: Timestamp;
@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;
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;
map_drawing: MapDrawingEntity;
}
}
Loading