# Modifica dell'ID campo utente personalizzato#

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

<div class="post-metadata">

**Author:** ![Denis\_Heraud](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denis_heraud/32/119623_2.png) [@Denis\_Heraud](https://meta.discourse.org/u/Denis_Heraud)\
**Post date:** [30 Aprile 2018, 2:23pm UTC](https://meta.discourse.org/t/changing-custom-user-field-id/86323/6 "2018-04-30T14:23:45Z")

</div>

> [@zogstrip](#):
>
> As for the original question, you’ll have to reset the counter with some SQL
> 
> ALTER SEQUENCE user\_fields\_id\_seq RESTART WITH 1;

Thank you @zogstrip ! Now would that reset the counter for existing fields, or subsequently created fields?

I presume I would have to delete my fields, run the command, and recreate them in the right order?

---

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