migration changes to match with mysql