Read the deferred configuration columns in one line in the audit report

The audit script prints the annotation verbatim, so a note wrapped across
three schema comment lines came out with the comment markers folded into
the middle of the sentence.
This commit is contained in:
Marc-André Bombeck committed 2026-07-31 15:45:22 +02:00
1 parent 54fed25859
commit c66aafe9c8
1 file changed
+8 -10
+8 -10
View File
@@ -5117,17 +5117,15 @@ model HealthScoreRecord {
inputFingerprint String @db.VarChar(64) @map("input_fingerprint")
/// The account's health-score configuration version in force when the row
/// was written, and when that configuration last changed. Written by
/// whoever computes the score; today nothing supplies them, because the
/// per-user configuration itself lands beside this table and its delta
/// guard lands after it. They are here now so that guard does not need a
/// second migration over a table that will already hold rows.
/// @pending-consumer(score delta guard) suppresses the week-over-week delta
/// across a configuration change instead of narrating a settings action as
/// a health event.
/// was written, and when that configuration last changed. The write path
/// takes both as parameters and persists whatever it is given; today
/// nothing supplies them, because the per-user configuration itself lands
/// beside this table and the guard that reads them lands after it. They are
/// here now so that guard does not need a second migration over a table
/// that will already hold rows.
/// @pending-consumer(score delta guard) suppresses the week-over-week delta across a configuration change, so a settings action is never narrated as a health event.
configVersion Int? @map("config_version")
/// @pending-consumer(score delta guard) dates the series break on the first
/// record written after a configuration change.
/// @pending-consumer(score delta guard) dates the series break on the first record written after a configuration change.
configChangedAt DateTime? @map("config_changed_at") @db.Timestamptz(3)
/// When the score was computed. Distinct from `dayKey`: the day says which