I have a problem regarding my update, if i have 1 row of data my update works but if I have 2 rows data, I got this problem.
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 2 Primary
myController.php
public function update(Partner $partner) {
$partner->update(array_except(Input::all(), '_token'));
}
Any idea whats the problem?