How can I delete if likable_type or likable_id doesn't exist
ShekhSaifuddin007 opened this issue · comments
Shekh Saifuddin commented
安正超 commented
Sorry, polymorphic associations can't be deleted by association.
安正超 commented
You can listen the Model::deleted event and delete the relations.
Shekh Saifuddin commented
Yeah Thank you problem solved.