# Unused TOS custom user field safe to delete?

**URL:** <https://meta.discourse.org/t/unused-tos-custom-user-field-safe-to-delete/25464>\
**Category:** Support\
**Created:** [Fevereiro 20, 2015, 9:46pm UTC](https://meta.discourse.org/t/unused-tos-custom-user-field-safe-to-delete/25464 "2015-02-20T21:46:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)\
**Post date:** [Fevereiro 20, 2015, 9:46pm UTC](https://meta.discourse.org/t/unused-tos-custom-user-field-safe-to-delete/25464/1 "2015-02-20T21:46:20Z")

</div>

AFAIK, I am not using this pre-provided “TOS” custom user field, and we use SSO for external registration.

1. Is it safe to delete this custom field using the (enabled) Delete button?
2. Will doing so renumber/rename my 2nd custom field named `user_field_2` in the databse or will `user_field_1` be forever gone and not reused?

---

<div class="post-metadata">

**Author:** ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)\
**Post date:** [Abril 13, 2015, 6:45pm UTC](https://meta.discourse.org/t/unused-tos-custom-user-field-safe-to-delete/25464/2 "2015-04-13T18:45:18Z")

</div>

Sorry to bump, but wanted to see if anyone might have an idea about this. Our users are created via SSO so this field is not checked by default. When user go to edit their preferences, the changes won’t save because this checkbox is not checked (since it never was). It’d be much better if we could get rid of it altogether. (Or at least have SSO check it somehow for us.)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [Abril 14, 2015, 12:23am UTC](https://meta.discourse.org/t/unused-tos-custom-user-field-safe-to-delete/25464/3 "2015-04-14T00:23:50Z")

</div>

Not sure, @eviltrout would need to answer.

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [Abril 14, 2015, 3:11pm UTC](https://meta.discourse.org/t/unused-tos-custom-user-field-safe-to-delete/25464/4 "2015-04-14T15:11:16Z")

</div>

If you’re not using the user field you should be able to delete it.

The IDs in the database should stay the same, they are the IDs of the `user_fields` table, not the sequential order of the fields. `user_field_1` should never be reused.

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [Junho 8, 2024, 12:46pm UTC](https://meta.discourse.org/t/unused-tos-custom-user-field-safe-to-delete/25464/5 "2024-06-08T12:46:09Z")

</div>

Este tópico foi automaticamente fechado após 3395 dias. Novas respostas não são mais permitidas.
