ALTER TABLE `inv_ivc_product_sale` ADD `ips_seg_id` INT NULL AFTER `ips_id`;
ALTER TABLE `inv_ivc_product_sale` ADD `ips_credit` DECIMAL(11,2) NULL AFTER `ips_balance`;
ALTER TABLE `inv_ivc_product_sale` ADD `created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `ips_pay_to_sub`, ADD `updated_at` DATETIME on update CURRENT_TIMESTAMP NULL AFTER `created_at`;