ALTER TABLE `m3_order_forms` ADD `enable_vat` ENUM(  'No',  'Yes' ) NOT NULL DEFAULT  'No' AFTER  `ion`;
ALTER TABLE `m3_order_forms` ADD `vat_number` VARCHAR( 255 ) NOT NULL AFTER `enable_vat`;
ALTER TABLE `m3_order_forms` ADD `vat_label` TEXT NOT NULL AFTER `vat_number`;
ALTER TABLE `m3_order_forms` ADD `vat_base_country` BIGINT( 22 ) NOT NULL AFTER  `vat_label`;
ALTER TABLE `m3_customers` ADD `vat_number` VARCHAR( 255 ) NOT NULL AFTER `notes` ;

ALTER TABLE `m3_helpdesk_departments` ADD `imap_connection_string` VARCHAR( 255 ) NOT NULL DEFAULT '/imap/novalidate-cert' AFTER `require_valid_support_package` ;

ALTER TABLE `m3_users` ADD `helpdesk_flood_protection` ENUM( 'Disabled', 'Enabled' ) NOT NULL DEFAULT 'Disabled' AFTER `max_rows` ;


DROP TABLE IF EXISTS `m3_product_sku_jrequire_addons`;
CREATE TABLE IF NOT EXISTS `m3_product_sku_jrequire_addons` (
  `sku_id` bigint(22) NOT NULL,
  `addon_sku_id` bigint(22) NOT NULL,
  KEY `sku_id` (`sku_id`),
  KEY `addon_sku_id` (`addon_sku_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;