ALTER TABLE `ohrm_menu_item` ADD `include_attachment_section` TINYINT( 4 ) DEFAULT NULL;
ALTER TABLE `ohrm_custom_field_screen` ADD `menu_id` INT(11) DEFAULT NULL;
ALTER TABLE `ohrm_custom_field_screen` ADD INDEX(`menu_id`);
ALTER TABLE `ohrm_custom_field_screen` ADD CONSTRAINT `ohrm_custom_field_screen_menu_id_fk_ohrm_menu_item_id` FOREIGN KEY (`menu_id`) REFERENCES `ohrm_menu_item`(`id`) ON DELETE CASCADE ON UPDATE CASCADE;
UPDATE ohrm_custom_field_screen a JOIN ohrm_menu_item_data_group b ON a.data_group_id = b.data_group_id SET a.menu_id = b.menu_item_id