INSERT INTO `email_template_global` (`code`, `name`, `subject`, `template`, `created_datetime`, `updated_datetime`, `created_by`, `updated_by`) VALUES
('PMF01', 'PM to Feedback conversion', 'Your Private Message to Management Office has been Converted to a Feedback', '<div style="text-align:center;align:center;font-family:Helvetica Neue,Arial,Helvetica,sans-serif"><table align="center" border="0" cellpadding="5" cellspacing="0" style="line-height:1.6; margin-left:auto; margin-right:auto; width:580px"><tbody><tr><td style="text-align:left">Dear {name},</td></tr><tr><td style="text-align:left">Thank you for your Private Message. Your Private Message has been converted to a Feedback by Management Office as below:-<br /><br />{message}</td></tr><tr><td style="text-align:left"><img alt="" src="/upload/files/emails/email_footer.jpg" style="height:167px; width:580px" /></td></tr></tbody></table></div><div style="text-align:center;align:center;font-family:Helvetica Neue,Arial,Helvetica,sans-serif"><table align="center" border="0" cellpadding="0" cellspacing="0" style="background-color:#ffffff; margin-left:auto; margin-right:auto; width:580px"><tbody><tr><td style="text-align:center"><div><div><p style="text-align:center"><span style="color:rgb(0, 0, 0); font-size:10px">To avoid future emails from being automatically sent to your junk mail folder, we suggest that you add our email address [admin@iresidenzmail.com]&nbsp;<span style="color:rgb(0, 0, 0); font-size:10px"> </span>to your Address Book and/or the &ldquo;Approved Sender&rdquo; list.</span></p><p style="text-align:center"><span style="color:rgb(255, 255, 255); font-size:12px">This is a computer generated email. Please do not reply to this email. </span></p></div></div></td></tr></tbody></table></div>', '2018-06-06 10:35:16', '2018-06-06 10:35:16', 1, 1);

ALTER TABLE `feedback` ADD `conversation_id` INT NULL AFTER `on_behalf_of`;

ALTER TABLE  `email_template_global` CHANGE  `subject`  `subject` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL ;
