Fix migration template