-- SQL Update for Gestsup 
-- !!! If you are not in lastest version, all previous scripts must be passed before !!!


UPDATE tparameters SET version="2.2";





ALTER TABLE  `tparameters` ADD  `mail_smtp` VARCHAR( 100 ) NOT NULL AFTER  `maxline`;

ALTER TABLE  `tparameters` ADD  `mail_auth` VARCHAR( 10 ) NOT NULL AFTER  `mail_smtp`;	

ALTER TABLE  `tparameters` ADD  `mail_username` VARCHAR( 150 ) NOT NULL AFTER  `mail_auth`;

ALTER TABLE  `tparameters` ADD  `mail_password` VARCHAR( 150 ) NOT NULL AFTER  `mail_username`;

ALTER TABLE  `tparameters` ADD  `mail_secure` VARCHAR( 10 ) NOT NULL AFTER  `mail_auth`;

UPDATE  `tparameters` SET  `mail_secure` =  '0';
UPDATE  `tparameters` SET  `mail_auth` =  '0';
UPDATE  `tparameters` SET  `mail_smtp` =  'localhost';
