Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 300 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 300 Bytes

soft-delete-cascade

Apply soft delete cascade

Installation

This project using composer.

$ composer require awais/cascade-soft-deletes

Usage

add all tables names in SoftDeletables helper and run migration. use trait CascadeSoftDeletes in parent model and add all relationships.