def migrate_assignment_fields(apps, schema_editor):
    """Migrate new Assignment fields."""
    Assignment = apps.get_model('nsot', 'Assignment')
    Assignment_temp = apps.get_model('nsot', 'Assignment_temp')
    for asn in Assignment.objects.iterator():
        asn_tmp = Assignment_temp.objects.create(id=asn.id, address_id=asn.
            address_id, interface_id=asn.interface_id)
