# Database unique field

**URL:** <https://forum.bubble.io/t/database-unique-field/20862>\
**Category:** Database\
**Created:** [November 24, 2017, 9:17am UTC](https://forum.bubble.io/t/database-unique-field/20862 "2017-11-24T09:17:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tamodeep.das](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@tamodeep.das](https://forum.bubble.io/u/tamodeep.das)\
**Post date:** [November 24, 2017, 9:17am UTC](https://forum.bubble.io/t/database-unique-field/20862/1 "2017-11-24T09:17:45Z")

</div>

I am creating a table of user with fields name, email, address,phoneNumber.  
I want to set the phoneNumber as a unique field but not getting any option for doing so.  
Can anyone have any idea?

---

<div class="post-metadata">

**Author:** ![louisadekoya](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/louisadekoya/32/217422_2.png) [@louisadekoya](https://forum.bubble.io/u/louisadekoya)\
**Post date:** [November 24, 2017, 9:55am UTC](https://forum.bubble.io/t/database-unique-field/20862/2 "2017-11-24T09:55:13Z")

</div>

This [post](http://forum.bubble.io/t/unique-username/2572/26) might help.

**Edit** : I should add that I know you’re not necessarily asking to use phone number as a username, but the point is you may have to add workflow steps to check if a phone number is already in the database and if so prevent it being added again. The post I link to above discusses a similar thing.
