ALTER TABLE `users` ADD `group_expiry_date` DATETIME NULL AFTER `resetpass_token_expire_date`, ADD `mess_expiry_date` DATETIME NULL AFTER `group_expiry_date`, ADD `family_expiry_date` DATETIME NULL AFTER `mess_expiry_date`; DROP TABLE IF EXISTS `deposits`; CREATE TABLE `deposits` ( `id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `payment_id` varchar(255) CHARACTER SET latin1 DEFAULT NULL COMMENT 'system generated unique id', `fee` int(11) NOT NULL DEFAULT '0', `gross` int(11) NOT NULL DEFAULT '0', `cost` int(11) NOT NULL DEFAULT '0', `net` int(11) NOT NULL DEFAULT '0', `type` int(11) DEFAULT NULL COMMENT '1 = EFT, 2 = Automatic', `status` int(11) DEFAULT NULL COMMENT '0 = Pending, 1= Paid, 2 = Refund, 3 = Payment Fail', `user_ip` varchar(255) CHARACTER SET latin1 DEFAULT NULL, `created_date` datetime NOT NULL, `updated_date` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; DROP TABLE IF EXISTS `orders`; CREATE TABLE `orders` ( `id` int(11) NOT NULL, `payment_id` varchar(255) CHARACTER SET latin1 DEFAULT NULL COMMENT 'system generated unique id like --