File: /www/exchange2/sql/archive/2018-06-20.sql
INSERT INTO `mail_management` (`mail_id`, `smtp_host`, `smtp_port`, `smtp_username`, `smtp_password`, `mail_name`, `mail_to`, `mail_from`, `mail_from_name`, `mail_subject`, `mail_type`, `mail_content`, `mail_content_text`, `mail_status`, `modified_at`, `modified_by`) VALUES (NULL, 'localhost', '25', 'patrick.reynolds@credebtexchange.com', 'Gz1', '2. Digi-Access Activation Email', '', 'support@credebtexchange.com', 'Credebt Exchange Limited', '############# CREDEBT EXCHANGE CERTIFICATE ACTIVATION #############', 0, '<p>Hi <firstname>,</p>\r\n<p>Welcome from the Convertibill® support team.</p>\r\n<p>Please find attached the new digital certificate that you need to install on the computer that you will use to access the Credebt Exchange platform.</p>\r\n<p>1. Simply save the attached certificate to a folder on your computer; and</p>\r\n<p>2. Follow the import instructions relevant to the web browser that you will use:</p>\r\n<p> A) For Mozilla Firefox: <a href=\"http://www.digi-sign.com/support/client%20certificates/import%20firefox\">http://www.digi-sign.com/support/client%20certificates/import%20firefox</a></p>\r\n<p> B) For Windows Internet Explorer and Google Chrome:</p><p> <a href=\"https://www.digi-sign.com/support/client%20certificates/import%20windows\">https://www.digi-sign.com/support/client%20certificates/import%20windows</a></p>\r\n<p>NOTE:- During the certificate import wizard you will be asked to enter a password - please enter this installation password: <password></p>\r\n<p>3. When you have finished the installation, you can login to your account by visiting our site: <login_link></p>\r\n<p>Regards,</p>\r\n<p>Support Team</p>\r\n<p>support@credebtexchange.com</p>\r\n<p>Switchboard : +353 1 685-3600</p>\r\n<p>Please Note:- All calls to and from Credebt Exchange are recorded to confirm instructions given and for training and quality control purposes.</p>\r\n<p>http://credebtexchange.com/</p>\r\n<p>Credebt Exchange®</p>\r\n<p>-------------------------------0----------------------------</p>\r\n<p>For unsubscribe, legal & confidential disclaimer see email footer:</p>\r\n<p>http://www.credebtexchange.com/legal/email+footer</p>\r\n<p>-------------------------------0----------------------------</p>\r\n<p>© <current_year>, Credebt Exchange. All rights reserved</p>', '<p>Hi <firstname>,</p>\r\n<p>Welcome from the Convertibill® support team.</p>\r\n<p>Please find attached the new digital certificate that you need to install on the computer that you will use to access the Credebt Exchange platform.</p>\r\n<p>1. Simply save the attached certificate to a folder on your computer; and</p>\r\n<p>2. Follow the import instructions relevant to the web browser that you will use:</p>\r\n<p> A) For Mozilla Firefox: <a href=\"http://www.digi-sign.com/support/client%20certificates/import%20firefox\">http://www.digi-sign.com/support/client%20certificates/import%20firefox</a></p>\r\n<p> B) For Windows Internet Explorer and Google Chrome:</p><p> <a href=\"https://www.digi-sign.com/support/client%20certificates/import%20windows\">https://www.digi-sign.com/support/client%20certificates/import%20windows</a></p>\r\n<p>NOTE:- During the certificate import wizard you will be asked to enter a password - please enter this installation password: <password></p>\r\n<p>3. When you have finished the installation, you can login to your account by visiting our site: <login_link></p>\r\n<p>Regards,</p>\r\n<p>Support Team</p>\r\n<p>support@credebtexchange.com</p>\r\n<p>Switchboard : +353 1 685-3600</p>\r\n<p>Please Note:- All calls to and from Credebt Exchange are recorded to confirm instructions given and for training and quality control purposes.</p>\r\n<p>http://credebtexchange.com/</p>\r\n<p>Credebt Exchange®</p>\r\n<p>-------------------------------0----------------------------</p>\r\n<p>For unsubscribe, legal & confidential disclaimer see email footer:</p>\r\n<p>http://www.credebtexchange.com/legal/email+footer</p>\r\n<p>-------------------------------0----------------------------</p>\r\n<p>© <current_year>, Credebt Exchange. All rights reserved</p>', 1, '2018-06-20 00:00:00', 12);
CREATE TABLE `certificate_history` (
`id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`certificate` blob NOT NULL,
`certificate_name` varchar(255) NOT NULL,
`certificate_password` varchar(255) NOT NULL,
`expired_at` datetime NOT NULL,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`created_at` datetime NOT NULL,
`created_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `certificate_history`
ADD PRIMARY KEY (`id`);
ALTER TABLE `certificate_history`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;