Magento 2.2 : Upgrade customer_eav_attribute table 2.1 to 2.2

After updating Magento 2.1 to Magento 2.2 I get the following error when saving a client.

enter image description here

I have seen that in the customer_eav_attribute table the data has not been updated correctly to the new version.

For exemple, I have:


And in version 2.2 it is necessary to have:


How to update this table? without reinstall Magento 2.2