I'm struggling to get my head around migrations at the minute. I have an existing table with a foreign key that I want to add a new onDelete constraint to so that it deletes the associated data on deletion. How do I do this? I can only find details of how to do this when creating the column.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community