I need to make a column in phpMyAdmin unique and optional at the same time.. This will be used in a registration form. The user is not required to provide this information but if they do, there cannot be another duplicate entry.
More Info:
I have a table called "client_order_number", in this table I will store the client's order number.. When the user fills out the form located in our frontend, this field should be optional (Not required) but if the user does provide this information, I need it to be unique meaning, if another user decides to provide this information as well he can't input the same exact client number as the previous user.
Here's a screenshot of my database: