FHM09062601IBL - alter m_patient M_PatientDOB ke VARCHAR untuk simpan nilai masked

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
sas.fajri
2026-06-11 13:45:34 +07:00
parent 9e68c1cedd
commit 49df769c58

View File

@@ -0,0 +1,5 @@
-- Ganti tipe M_PatientDOB dari DATE ke VARCHAR
-- agar nilai masked (**-**-YYYY) bisa tersimpan sebagai string
-- Nilai asli DOB ada di M_PatientDOB_enc (AES-256-GCM)
ALTER TABLE one_lab.m_patient
MODIFY COLUMN M_PatientDOB VARCHAR(20) NULL DEFAULT NULL;