Fieldtype int cannot be unique

i want int field type with unique value, but it throw some error

same problem. Did you find a solution?

Still the same issue.

Student: Fieldtype Int for Roll Number cannot be unique

If I make it of type “Data”, then it can be unique, but not in the case of Int. Looks Odd.

or is there any valid reason for such a behaviour?

I have the same problem. Why is there no answer to find for this?

I tried searching the web, but there is no explaination. It would be easier if this would be documented with a reason and how to handle the usecase when one need a unique number on a record?!

Please give some explaination and workaround, or how to design this otherwise!