Skip to content

[7.x] Add helper for on update cascade#33522

Merged
taylorotwell merged 2 commits into
laravel:7.xfrom
amir9480:add_cascade_on_update
Jul 13, 2020
Merged

[7.x] Add helper for on update cascade#33522
taylorotwell merged 2 commits into
laravel:7.xfrom
amir9480:add_cascade_on_update

Conversation

@amir9480
Copy link
Copy Markdown
Contributor

@amir9480 amir9480 commented Jul 13, 2020

Hello.

With this change I can use this in my migrations.

$table->foreignId('user_id')->cascadeOnDelete()->cascadeOnUpdate();

@amir9480 amir9480 changed the title add helper for on update cascade [7.x] Add helper for on update cascade Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants