Fixed #21290: Documented migration serializing and improved error