Fixed #23415 -- Add fields for unmanaged and proxy model migrations

Ticket: https://code.djangoproject.com/ticket/23415
This confuses me  -- it seems to suggest we only act on unmanaged models which doesn't seem to be the case looking at the code?