store more metadata

This commit is contained in:
2026-04-09 23:53:02 +04:00
parent 9409f6ee02
commit 60b88dd4d4
5 changed files with 13 additions and 3 deletions
+3 -1
View File
@@ -60,7 +60,9 @@ export async function migrate(sql: any) {
meta JSONB,
region TEXT NOT NULL DEFAULT 'default',
run_id TEXT,
cert_expiry_days INTEGER
cert_expiry_days INTEGER,
cert_issuer TEXT,
response_size INTEGER
)
`;
await sql`CREATE INDEX IF NOT EXISTS idx_pings_monitor ON pings(monitor_id, checked_at DESC)`;