#22906 Added migration logic.