Fix function name typo in migration