[BZ-1008198] use plain text migrator for functions