# تغيير معرف حقل المستخدم المخصص #

**URL:** <https://meta.discourse.org/t/changing-custom-user-field-id/86323>\
**Category:** Support\
**Created:** [27 أبريل 2018، 5:59م UTC](https://meta.discourse.org/t/changing-custom-user-field-id/86323 "2018-04-27T17:59:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [30 أبريل 2018، 1:47م UTC](https://meta.discourse.org/t/changing-custom-user-field-id/86323/5 "2018-04-30T13:47:21Z")

</div>

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

```sql
ALTER SEQUENCE user_fields_id_seq RESTART WITH 1;

```

---

_[View the full topic](https://meta.discourse.org/t/changing-custom-user-field-id/86323)._
