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
I'm okay to implement #23996, but have we decided to go ahead with it?