fix(init-stack): pre-drop mv_http_logs + http_logs before schema apply

Ensure h2 columns are always included on fresh init. Also add migration
loop for fleet_detections and ml_performance_metrics tables.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
toto
2026-04-10 01:00:04 +02:00
parent b409a70970
commit 040437921c
2 changed files with 39 additions and 2 deletions

View File

@ -90,8 +90,8 @@ CREATE TABLE IF NOT EXISTS ja4_logs.http_logs
`anubis_bot_category` LowCardinality(String) DEFAULT '',
-- Fingerprint HTTP/2 passif (mod_reqin_log connection filter)
`h2_fingerprint` String CODEC(ZSTD(3)) DEFAULT '',
`h2_settings_fp` String CODEC(ZSTD(3)) DEFAULT '',
`h2_fingerprint` String DEFAULT '' CODEC(ZSTD(3)),
`h2_settings_fp` String DEFAULT '' CODEC(ZSTD(3)),
`h2_window_update` UInt32 DEFAULT 0,
`h2_pseudo_order` LowCardinality(String) DEFAULT '',