-- 013_speedtest.sql
CREATE TABLE speedtest_results (
  id          uuid PRIMARY KEY DEFAULT gen_random_uuid(),
  down_mbps   numeric NOT NULL,
  up_mbps     numeric NOT NULL,
  ping_ms     numeric,
  ran_at      timestamptz NOT NULL DEFAULT now()
);
CREATE INDEX idx_speedtest_ran_at ON speedtest_results (ran_at DESC);
