Fixes existing migration template