To set a field unique on the table, we have to go to that respective field dictionary and set the unique check box to true.