MySQL Set Field Unique
ALTER TABLE mytbl ADD UNIQUE (columnName);
Easy Eland
ALTER TABLE mytbl ADD UNIQUE (columnName);
ALTER TABLE contacts
ADD CONSTRAINT contacts_unique UNIQUE (reference_number);