begin; ALTER TABLE users MODIFY password_hash_algorithm DEFAULT 'salted-sha1'; update users set password_hash_algorithm = 'salted-sha1' where password_hash_algorithm = 'salted_sha1'; end;