fix(mysql): jsonb → json — type non supporté par MySQL
This commit is contained in:
@@ -35,7 +35,7 @@ export class CombatLog {
|
|||||||
totalRounds: number;
|
totalRounds: number;
|
||||||
|
|
||||||
// Stocker les rounds en JSON — lecture replay
|
// Stocker les rounds en JSON — lecture replay
|
||||||
@Column({ name: 'rounds_data', type: 'jsonb' })
|
@Column({ name: 'rounds_data', type: 'json' })
|
||||||
roundsData: object;
|
roundsData: object;
|
||||||
|
|
||||||
@Column({ name: 'xp_earned', default: 0 })
|
@Column({ name: 'xp_earned', default: 0 })
|
||||||
|
|||||||
@@ -27,6 +27,6 @@ export class Recipe {
|
|||||||
@Column({ name: 'endurance_cost' })
|
@Column({ name: 'endurance_cost' })
|
||||||
enduranceCost: number;
|
enduranceCost: number;
|
||||||
|
|
||||||
@Column({ type: 'jsonb' })
|
@Column({ type: 'json' })
|
||||||
ingredients: RecipeIngredient[];
|
ingredients: RecipeIngredient[];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user