ALTER TABLE `user` 
CHANGE COLUMN `password_reset_token` `password_reset_token` TEXT NULL DEFAULT NULL
CHANGE COLUMN `password` `password` TEXT NOT NULL
ADD COLUMN `new_algo` TINYINT(1) NOT NULL DEFAULT '0' AFTER `login_retries`;