feat: implement battle replay module with database migrations, repository, and CRUD service endpoints
All checks were successful
Build and Release / release (push) Successful in 1m32s

This commit is contained in:
2026-05-17 22:25:48 +07:00
parent 94601dbe58
commit 374c3b4f47
19 changed files with 10169 additions and 26 deletions

View File

@@ -11,6 +11,17 @@ import (
"github.com/pgvector/pgvector-go"
)
type BattleReplay struct {
ID pgtype.UUID `json:"id"`
GeometryID pgtype.UUID `json:"geometry_id"`
ProjectID pgtype.UUID `json:"project_id"`
TargetGeometryIds json.RawMessage `json:"target_geometry_ids"`
Detail json.RawMessage `json:"detail"`
IsDeleted bool `json:"is_deleted"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type ChatbotHistory struct {
ID pgtype.UUID `json:"id"`
UserID pgtype.UUID `json:"user_id"`