Askedio / laravel-soft-cascade

Cascade Delete & Restore when using Laravel SoftDeletes
https://medium.com/asked-io/cascading-softdeletes-with-laravel-5-a1a9335a5b4d
MIT License
705 stars 63 forks source link

Cascading forceDelete #108

Closed invaders-xx closed 4 years ago

invaders-xx commented 4 years ago

Description:

Is there any way to forceDelete cascade with this package ? I mean I have several model using SoftDelete and your very useful package but I would also like to be able to forceDelete and cascadin forceDelete on Relations. Many thanks in advance for your answer.

maguilar92 commented 4 years ago

@invaders-xx Mysql does it when you define the foreign key with ON DELETE CASCADE.