How to fix ERROR 1022: Can't write; duplicate key in table in MySQL | DevErrors