ALTER TABLE `user` DROP `isPasswordReEncrypted`;
ALTER TABLE `user` ADD `rememberMeToken` VARCHAR(255) NULL DEFAULT NULL AFTER `status`;
ALTER TABLE `user` DROP `magento_id`, DROP `mage_id`, DROP `postal_id`, DROP `mailing_address`, DROP `complement`, DROP `country_id`, DROP `city_location_id`, DROP `company_name`, DROP `digital_id`;

ALTER TABLE `user_subscriber` ADD `subscription_expiration` TIMESTAMP NULL AFTER `subscription_date`;

ALTER TABLE `user_subscriber` ADD `isLeMondeMember` BOOLEAN NOT NULL AFTER `subscription_type`;

ALTER TABLE `user_subscriber` ADD `id_no` VARCHAR(255) NULL AFTER `subscriber`;

ALTER TABLE `user_subscriber` CHANGE `id_no` `id_no` VARCHAR(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'Student ID or Shareholder ID';

ALTER TABLE `user_subscriber` ADD `id_file` VARCHAR(255) NULL AFTER `id_no`, ADD `sponsor_name` VARCHAR(255) NULL AFTER `id_file`, ADD `sponsor_email` VARCHAR(255) NULL AFTER `sponsor_name`, ADD `sponsor_company` VARCHAR(255) NULL AFTER `sponsor_email`;
ALTER TABLE `user_subscriber` ADD `isSponsor` BOOLEAN NOT NULL DEFAULT FALSE AFTER `isLeMondeMember`;

ALTER TABLE `user_subscriber` CHANGE `isLeMondeMember` `isLeMondeMember` BOOLEAN NOT NULL DEFAULT FALSE;

ALTER TABLE `user_subscriber` ADD `profession` VARCHAR(255) NULL DEFAULT NULL AFTER `mobile`;

ALTER TABLE `user_subscriber` ADD `department` VARCHAR(255) NULL DEFAULT NULL AFTER `city`;

ALTER TABLE `user_subscriber` CHANGE `sponsor_email` `sponsor_email` VARCHAR(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'This field is only applicable for sponsored account.';

ALTER TABLE `user_subscriber` CHANGE `sponsor_company` `sponsor_company` VARCHAR(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'This field is only applicable for sponsored account.';

ALTER TABLE `user_subscriber` CHANGE `sponsor_name` `sponsor_name` VARCHAR(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'This field is only applicable for sponsored account.';