add go bench client

This commit is contained in:
Gilles Soulier
2026-01-11 23:41:30 +01:00
parent c67befc549
commit 6abc70cdfe
80 changed files with 13311 additions and 61 deletions

View File

@@ -0,0 +1,15 @@
-- Migration 020: Store uptime_seconds as REAL for fractional values
-- Date: 2026-01-11
-- Description: Change hardware_snapshots.uptime_seconds from INTEGER to REAL
BEGIN TRANSACTION;
ALTER TABLE hardware_snapshots ADD COLUMN uptime_seconds_real REAL;
UPDATE hardware_snapshots
SET uptime_seconds_real = uptime_seconds
WHERE uptime_seconds IS NOT NULL;
ALTER TABLE hardware_snapshots DROP COLUMN uptime_seconds;
ALTER TABLE hardware_snapshots RENAME COLUMN uptime_seconds_real TO uptime_seconds;
COMMIT;