update include timings

This commit is contained in:
2026-04-10 09:33:14 +04:00
parent 27d478c41a
commit bc3f4dd032
5 changed files with 37 additions and 3 deletions
+4 -1
View File
@@ -62,7 +62,10 @@ export async function migrate(sql: any) {
run_id TEXT,
cert_expiry_days INTEGER,
cert_issuer TEXT,
response_size INTEGER
response_size INTEGER,
dns_ms INTEGER,
tcp_ms INTEGER,
tls_ms INTEGER
)
`;
await sql`CREATE INDEX IF NOT EXISTS idx_pings_monitor ON pings(monitor_id, checked_at DESC)`;