feat(health): consultation_message + follow_up_record PII 加密
- 迁移 m000065/m000066: 添加 key_version 列 - consultation_message: content 加密写入 + 解密读取 - follow_up_record: result/patient_condition/medical_advice 加密 - Entity: 添加 key_version 字段
This commit is contained in:
@@ -64,6 +64,8 @@ mod m20260426_000061_create_consent;
|
||||
mod m20260427_000062_create_tenant_crypto_keys;
|
||||
mod m20260427_000063_content_management;
|
||||
mod m20260427_000064_add_patient_pii_fields;
|
||||
mod m20260427_000065_add_consultation_message_key_version;
|
||||
mod m20260427_000066_add_follow_up_record_key_version;
|
||||
|
||||
pub struct Migrator;
|
||||
|
||||
@@ -135,6 +137,8 @@ impl MigratorTrait for Migrator {
|
||||
Box::new(m20260427_000062_create_tenant_crypto_keys::Migration),
|
||||
Box::new(m20260427_000063_content_management::Migration),
|
||||
Box::new(m20260427_000064_add_patient_pii_fields::Migration),
|
||||
Box::new(m20260427_000065_add_consultation_message_key_version::Migration),
|
||||
Box::new(m20260427_000066_add_follow_up_record_key_version::Migration),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user