feat(db,schemas): add migration 004, runtime throttle profile, and v1.1 Zod schemas

This commit is contained in:
tyuXX 2026-11-27 22:15:50 +00:00
parent d7c3e11d7e
commit afc2d6358a
30 changed files with 792 additions and 118 deletions

View file

@ -296,8 +296,7 @@ export class KnownHostsService {
.prepare(
`INSERT INTO known_hosts (host_port, algorithm, fingerprint, trusted_at, updated_at)
VALUES (?, ?, ?, ?, ?)
ON CONFLICT(host_port) DO UPDATE SET
algorithm = excluded.algorithm,
ON CONFLICT(host_port, algorithm) DO UPDATE SET
fingerprint = excluded.fingerprint,
updated_at = excluded.updated_at`,
)