CCDeprecated: Updated custom migration function