Fixed #23983 - Fixed a crash in migration when adding `order_with_respect_to` to table with data

Need to check `if not field.has_default()` to give users ability to set default in migration if they need it
Done