/*For SPS/Secure Database Table run following queries*/
ALTER TABLE `sps_transactions` CHANGE `total_time` `total_time` MEDIUMINT(9) NULL DEFAULT NULL;

ALTER TABLE `sps_cps` CHANGE `cps_total_time` `cps_total_time` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0';


/*NOTE: IF above/sps query does not run properly or error occurs like 'Invalid default value for cps_total_time', then only run below query*/
SET GLOBAL sql_mode = ''