SyntaxFix
Write A Post
Hire A Developer
Questions
this tutorial works for me
ALTER TABLE table_name ADD CONSTRAINT constraint_name UNIQUE (column1, column2, ... column_n);
https://www.mysqltutorial.org/mysql-unique-constraint/