ALTER TABLE `tblcalendar_events` CHANGE `type` `type` ENUM('general','schedule_estimate','schedule_post_inspection','schedule_work_order', 'schedule_work_orders') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;

UPDATE tblcalendar_events SET type = "schedule_work_order" WHERE type = "" OR type = "schedule_work_orders";

ALTER TABLE `tblcalendar_events` CHANGE `type` `type` ENUM('general','schedule_estimate','schedule_post_inspection','schedule_work_order') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;