If you already have foreign keys properly set for each table, you can add ->onDelete('cascade')
(see docs on Schema Builder) to your foreign keys in migration files.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community