Fixed #23956 -- Fixed migration creation for multiple table inheritance