What you are trying to do sounds very much like the first use case described in the post below:
Just be aware that the method does not guarantee uniqueness in the case where multiple users submit at the same time.
What you are trying to do sounds very much like the first use case described in the post below:
Just be aware that the method does not guarantee uniqueness in the case where multiple users submit at the same time.