อ.แก้อะไรบ้างครับ
มีเพิ่มเยอะเลยครับ
ALTER TABLE vaccine_combination ADD `hos_guid` varchar(38) NULL
ALTER TABLE tmp_dw_guid_lab_order ADD `md4` char(4) NULL
ALTER TABLE tmp_dw_guid_lab_order ADD `md3` char(3) NULL
ALTER TABLE tmp_dw_guid_lab_order ADD `md2` char(2) NULL
ALTER TABLE tmp_dw_guid_lab_order ADD `md1` char(1) NULL
ALTER TABLE thalassaemia_location_type ADD `thalassaemia_location_type_name` varchar(100) NOT NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_virus_total_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_virus_total` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_virus_wom_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_virus_wom` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_virus_man_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_virus_man` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_virus_name` varchar(250) NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_mala_total_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_mala_total` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_mala_wom_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_mala_wom` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_mala_man_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_mala_man` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_total_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_total_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_wom_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_wom_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_man_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_other_man_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_virus_total_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_virus_total` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_virus_wom_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_virus_wom` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_virus_man_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_virus_man` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_virus_name` varchar(250) NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_mala_total_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_mala_total` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_mala_wom_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_mala_wom` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_mala_man_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_mala_man` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_total_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_total_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_wom_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_wom_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_man_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_lao_man_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_virus_total_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_virus_total` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_virus_wom_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_virus_wom` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_virus_man_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_virus_man` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_virus_name` varchar(250) NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_mala_total_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_mala_total` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_mala_wom_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_mala_wom` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_mala_man_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_mala_man` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_total_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_total_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_wom_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_wom_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_man_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_mya_man_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_virus_total_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_virus_total` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_virus_wom_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_virus_wom` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_virus_man_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_virus_man` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_virus_name` varchar(250) NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_mala_total_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_mala_total` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_mala_wom_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_mala_wom` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_mala_man_care` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_mala_man` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_total_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_total_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_wom_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_wom_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_man_out` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_cam_man_in` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_id` int NULL
ALTER TABLE station_immigration_count ADD `station_immigration_count_date` date NULL
ALTER TABLE station_immigration ADD `station_immigration_name` varchar(250) NULL
ALTER TABLE person_wbc_service ADD `trimester` int NULL
ALTER TABLE person_wbc_service ADD `bdgyear_trimester` int NULL
ALTER TABLE person_wbc_service ADD `bmi_level` int NULL
ALTER TABLE person_wbc_service ADD `height_level` int NULL
ALTER TABLE person_wbc_nutrition ADD `bdgyear_trimester` int NULL
ALTER TABLE person_visit_type ADD `person_visit_type_name` varchar(200) NOT NULL
ALTER TABLE person_visit ADD `person_visit_type_id` int NULL
ALTER TABLE person_vaccine_elsewhere ADD `update_datetime` datetime NULL
ALTER TABLE person_vaccine_elsewhere ADD `vaccine_expire_date` date NULL
ALTER TABLE person_vaccine_elsewhere ADD `vaccine_lotno` varchar(50) NULL
ALTER TABLE person_vaccine_elsewhere ADD `vaccine_note` varchar(100) NULL
ALTER TABLE person_vaccine_elsewhere ADD `vaccine_date` date NULL
ALTER TABLE person_vaccine_elsewhere ADD `hospcode` char(5) NULL
ALTER TABLE person_vaccine_elsewhere ADD `person_vaccine_id` int NOT NULL
ALTER TABLE person_vaccine_elsewhere ADD `person_id` int NOT NULL
ALTER TABLE person_labour ADD `thalassaemia_wife_location_type_id` int NULL
ALTER TABLE person_anc_preg_week ADD `week_max` int NOT NULL
ALTER TABLE person_anc_preg_week ADD `week_min` int NOT NULL
ALTER TABLE person_anc ADD `thalassaemia_wife_location_type_id` int NULL
ALTER TABLE patient_immigration_followup ADD `diage_status` char(1) NULL
ALTER TABLE patient_immigration_followup ADD `immigration_followup_id` int NULL
ALTER TABLE patient_immigration_followup ADD `vn` varchar(13) NULL
ALTER TABLE labor ADD `drip_oxytocin_time` time NULL
ALTER TABLE labor ADD `drip_oxytocin_date` date NULL
ALTER TABLE labor ADD `drip_oxytocin_dose` varchar(20) NULL
ALTER TABLE immigration_followup ADD `immigration_followup_type` int NULL
ALTER TABLE immigration_followup ADD `immigration_followup_name` varchar(250) NULL
ALTER TABLE hospital_activity_list ADD `person_count` int NULL
ALTER TABLE checkup_visit MODIFY COLUMN `addr7` int
CREATE TABLE tmp_dw_guid_lab_order ( `hos_guid` varchar(38) NOT NULL )
CREATE TABLE thalassaemia_location_type ( `thalassaemia_location_type_id` int NOT NULL )
CREATE TABLE station_immigration_count ( `station_immigration_count_id` int NOT NULL )
CREATE TABLE station_immigration ( `station_immigration_id` int NOT NULL )
CREATE TABLE person_visit_type ( `person_visit_type_id` int NOT NULL )
CREATE TABLE person_vaccine_elsewhere ( `person_vaccine_elsewhere_id` int NOT NULL )
CREATE TABLE person_anc_preg_week ( `person_anc_preg_week_id` int NOT NULL )
CREATE TABLE patient_immigration_followup ( `patient_immigration_followup_id` int NOT NULL )
CREATE TABLE immigration_followup ( `immigration_followup_id` int NOT NULL