I have defined a Model class named Support, which abstracts the "supports" table of my DB. I want to call a method of a support instance when its table entry is deleted due to a foreign key constraint. Is there any member function or event or anything like that I can use? Or do I have to change my database to account for this?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community