Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shadoWalker89 committed Oct 25, 2021
1 parent 5af4193 commit ae6ded1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Schema/ForeignKeyDefinition.php
Expand Up @@ -41,7 +41,7 @@ public function cascadeOnDelete()
*/
public function restrictOnUpdate()
{
return $this->onDelete('restrict');
return $this->onUpdate('restrict');
}

/**
Expand Down

0 comments on commit ae6ded1

Please sign in to comment.