Have you found a solution to this? I'm not sure if I'm following you but have you try doing "cascade"?
e.g. This will delete the record on the pivot table if you delete the item on "tags" table. $table->foreign('tag_id') ->references('id')->on('tags') ->onDelete('cascade');
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us