ALTER TABLE `smartrisk_dev`.`mst_client` 
ADD COLUMN `contract_end_date` DATE NULL DEFAULT NULL COMMENT '' AFTER `phone`;

CREATE TABLE `emailqueue` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `from_mail` varchar(100) NOT NULL,
  `client_id` int(11)  DEFAULT NULL,
  `client_name` varchar(200) DEFAULT NULL,
  `to` varchar(255) NOT NULL,
  `cc` varchar(255) DEFAULT NULL,
  `bcc` varchar(255) DEFAULT NULL,
  `subject` varchar(255) DEFAULT NULL,
  `content` longtext,
  `is_sent` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1
