Fixed #23983 - Fixed a crash in migration when adding `order_with_respect_to` non-empty table