feat(replay): add ViewerBattleHistory entity + migration
New table backs /replay/info; composite PK (ViewerId, BattleId), index on (ViewerId, CreateTime) for the newest-first list query. 50-row per-viewer retention enforced by BattleHistoryWriter (next commit). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
4641
SVSim.Database/Migrations/20260610113113_AddViewerBattleHistory.Designer.cs
generated
Normal file
4641
SVSim.Database/Migrations/20260610113113_AddViewerBattleHistory.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user