feat(health): family_member + doctor_profile PII 加密
- 迁移 m000067: patient_family_member 添加 phone_hash + key_version - 迁移 m000068: doctor_profile 添加 license_number_hash + key_version - family_member: phone 加密 + HMAC 索引 + 列表脱敏 - doctor_profile: license_number 加密 + HMAC 搜索重写 + 详情解密 - 列表中 Tier 1 字段返回 None
This commit is contained in:
@@ -66,6 +66,8 @@ 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;
|
||||
mod m20260427_000067_add_family_member_pii_fields;
|
||||
mod m20260427_000068_add_doctor_profile_pii_fields;
|
||||
|
||||
pub struct Migrator;
|
||||
|
||||
@@ -139,6 +141,8 @@ impl MigratorTrait for Migrator {
|
||||
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),
|
||||
Box::new(m20260427_000067_add_family_member_pii_fields::Migration),
|
||||
Box::new(m20260427_000068_add_doctor_profile_pii_fields::Migration),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user