-- raul coka
ALTER TABLE medical_file ADD COLUMN `accident_insurance_mdf` enum('YES','NO') NULL DEFAULT NULL AFTER `healthinsurance_mdf`;
ALTER TABLE medical_file ADD COLUMN `safe_education_insurance_mdf` enum('YES','NO') NULL DEFAULT NULL AFTER `accident_insurance_mdf`;

SET SQL_SAFE_UPDATES=0;
update family_address set phone2_fma=null,ext_phone2_fma=null where phone2_fma =0;
update guardian_address set phone2_gda=null,ext_phone2_gda=null where phone2_gda =0;
update student_address set phone2_sta=null,ext_phone2_sta=null where phone2_sta =0;
SET SQL_SAFE_UPDATES=1;

ALTER TABLE `student`
ADD COLUMN `email_inst_std` VARCHAR(256) NULL DEFAULT NULL AFTER `email_std`;

insert into allowed_pages_by_process (serial_prc, url_dsc) values (696,'DocumentRegisterController@postSaveObservation');
insert into allowed_pages_by_process (serial_prc, url_dsc) values (696,'UploadFilesController@postSaveDocuments');
