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
Could you add two `Rider`s here and check both of them for `0` in `_order` below.