Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Add restrictOnUpdate() method to the schema builder #39350

Merged
merged 2 commits into from Oct 25, 2021

Commits on Oct 25, 2021

  1. Add restrictOnUpdate() method to the schema builder

    Hi,
    
    Laravel has a `cascadeOnUpdate()` but does not have a `restrictOnUpdate()`.
    
    I know that i can use `onUpdate('restrict')` but since laravel already has a helper for the cascade and also has a restrict helper for the delete, it only makes sense to add helper for the restrict on update as well.
    shadoWalker89 committed Oct 25, 2021
    Copy the full SHA
    0551858 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    baadea5 View commit details
    Browse the repository at this point in the history