ALTER TABLE `user` ADD COLUMN `email` varchar(255) NULL AFTER `is_bot`, ADD UNIQUE INDEX (`email`);
ALTER TABLE `user` ADD COLUMN `fio`  varchar(255) NOT NULL AFTER `email`;
ALTER TABLE `user` ADD COLUMN `is_verified`  tinyint(1) NULL AFTER `added_to_attachment_menu`;
ALTER TABLE `user` ADD COLUMN `photo_id`  varchar(255) NULL AFTER `fio`;
ALTER TABLE `user` ADD COLUMN `balance` decimal(11,2) NOT NULL AFTER `photo_id`;
ALTER TABLE `user` ADD COLUMN `bonus_balance` decimal(11,2) NOT NULL AFTER `balance`;
ALTER TABLE `user` ADD COLUMN `invest_pack`  int NOT NULL AFTER `balance`;
ALTER TABLE `user` ADD COLUMN `invest_pack_amount`  decimal(11,2) NOT NULL AFTER `invest_pack`;
ALTER TABLE `user` ADD COLUMN `referrals`  int NOT NULL AFTER `invest_pack`;
ALTER TABLE `user` ADD COLUMN `referrals_sum`  decimal(11,2) NOT NULL AFTER `referrals`;
ALTER TABLE `user` ADD COLUMN `email_code`  varchar(10) NULL AFTER `referrals_sum`;
ALTER TABLE `user` ADD COLUMN `is_email_verified`  tinyint(1) NULL AFTER `email_code`;