fix(mysql): jsonb → json — type non supporté par MySQL

This commit is contained in:
2026-03-17 07:38:18 +01:00
parent 824ed41a14
commit 3ff5a8a84b
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ export class CombatLog {
totalRounds: number;
// Stocker les rounds en JSON — lecture replay
@Column({ name: 'rounds_data', type: 'jsonb' })
@Column({ name: 'rounds_data', type: 'json' })
roundsData: object;
@Column({ name: 'xp_earned', default: 0 })