feat(db): 8 条 Copilot 趋势/复合类告警规则种子数据

趋势类(4): 收缩压快速上升、肌酐连续上升、体重连续上升、血压趋势上升
复合类(4): eGFR+血钾双重危急、透析间期+血压、失约+依从性、Kt/V+血压
This commit is contained in:
iven
2026-05-12 22:30:16 +08:00
parent 78c052ecc9
commit a87425e551
3 changed files with 174 additions and 31 deletions

View File

@@ -144,6 +144,7 @@ mod m20260512_000139_create_copilot_insights;
mod m20260512_000140_create_copilot_risk_snapshots;
mod m20260512_000141_create_copilot_chat_logs;
mod m20260512_000142_seed_copilot_rules;
mod m20260512_000143_seed_copilot_alert_rules;
pub struct Migrator;
@@ -295,6 +296,7 @@ impl MigratorTrait for Migrator {
Box::new(m20260512_000140_create_copilot_risk_snapshots::Migration),
Box::new(m20260512_000141_create_copilot_chat_logs::Migration),
Box::new(m20260512_000142_seed_copilot_rules::Migration),
Box::new(m20260512_000143_seed_copilot_alert_rules::Migration),
]
}
}