set field unique mysql create table code example
Example 1: mysql remove unique constraint
ALTER TABLE tbl_name DROP INDEX index_name
Example 2: mysql set field unique
ALTER TABLE mytbl ADD UNIQUE (columnName);
ALTER TABLE tbl_name DROP INDEX index_name
ALTER TABLE mytbl ADD UNIQUE (columnName);