Falta el índice para el error de restricción en MySQL
please add constraint index to the table to uniquely define the row in a table with which the table can be identified
Better Bee