generated from CubeCraft-Creations/Tracehound
CUB-228: Add battery_calibration_offset to cameras table #7
Reference in New Issue
Block a user
Delete Branch "agent/hex/CUB-228-battery-calibration-offset"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds
battery_calibration_offset(REAL) column to thecamerastable for GoPro Hero 3 battery calibration.Changes
001_create_tables.sqlfor fresh databases002_add_camera_calibration.sql— idempotent ALTER TABLE guarded bypragma_table_infocheck indb.goBatteryCalibrationOffset *float64added tomodels.Camera(omitempty JSON)SELECT * FROM camerasqueries updated in:internal/api/cameras.go—GetCameraDetailinternal/mqtt/subscriber.go—getCameraValidation
Closes
CUB-228
Pull request closed