Bench migrate issue during the process of v13 upgrade from v12

enter console

bench --site <site.name> console

enter following in console:

f = frappe.get_doc("Custom Field", "Issue-legacy_customer_id")
# Set the options to None, current option Customer is invalid
f.options = None
f.save()
frappe.db.commit()