ALTER TABLE `tbltenant_sync_details` CHANGE `rel_type` `rel_type` ENUM('client','property','product_service','invoice','estimate','payment','payment_method','timelog','staff','change_order') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL;
ALTER TABLE `tblinvoices` ADD `how_to_sync_change_order` ENUM('as_line_item','as_new_invoice') NULL DEFAULT NULL AFTER `sent`;