更改自定义用户字段 ID#

Right. I’m not familiar with that part of the code.

I agree that if we’re using the id to store their value, it should be visible somewhere.

As for the original question, you’ll have to reset the counter with some SQL

ALTER SEQUENCE user_fields_id_seq RESTART WITH 1;