Zend certified PHP/Magento developer

EAV_ATTRIBUTE auto increment issue

I am trying to save product attributes in my Magento2 system and there may be 100 thousands of attributes.

However, I see that the value specified as auto increment in the eav_attribute table is defined as smallint.

In this case, I get an error when I reach the value 65535 while saving these product attributes.

How can I solve this problem?