Scouting: Update note scouting for 2023 game
This patch updates the keywords provided by strategy team.
Signed-off-by: Filip Kujawa <filip.j.kujawa@gmail.com>
Change-Id: I473af7d6c229a744a175414994e8552944a82d0e
diff --git a/scouting/db/db.go b/scouting/db/db.go
index eecc01c..75309d9 100644
--- a/scouting/db/db.go
+++ b/scouting/db/db.go
@@ -94,15 +94,16 @@
}
type NotesData struct {
- ID uint `gorm:"primaryKey"`
- TeamNumber int32
- Notes string
- GoodDriving bool
- BadDriving bool
- SketchyClimb bool
- SolidClimb bool
- GoodDefense bool
- BadDefense bool
+ ID uint `gorm:"primaryKey"`
+ TeamNumber int32
+ Notes string
+ GoodDriving bool
+ BadDriving bool
+ SketchyPickup bool
+ SketchyPlacing bool
+ GoodDefense bool
+ BadDefense bool
+ EasilyDefended bool
}
type Ranking struct {
@@ -395,14 +396,15 @@
func (database *Database) AddNotes(data NotesData) error {
result := database.Create(&NotesData{
- TeamNumber: data.TeamNumber,
- Notes: data.Notes,
- GoodDriving: data.GoodDriving,
- BadDriving: data.BadDriving,
- SketchyClimb: data.SketchyClimb,
- SolidClimb: data.SolidClimb,
- GoodDefense: data.GoodDefense,
- BadDefense: data.BadDefense,
+ TeamNumber: data.TeamNumber,
+ Notes: data.Notes,
+ GoodDriving: data.GoodDriving,
+ BadDriving: data.BadDriving,
+ SketchyPickup: data.SketchyPickup,
+ SketchyPlacing: data.SketchyPlacing,
+ GoodDefense: data.GoodDefense,
+ BadDefense: data.BadDefense,
+ EasilyDefended: data.EasilyDefended,
})
return result.Error
}